Found random russian word in 1-xmlhttprequest
This commit is contained in:
parent
23c35fa79c
commit
d2006c963e
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ There are 3 methods for HTTP-headers:
|
||||||
`setRequestHeader(name, value)`
|
`setRequestHeader(name, value)`
|
||||||
: Sets the request header with the given `name` and `value`.
|
: Sets the request header with the given `name` and `value`.
|
||||||
|
|
||||||
Например:
|
For instance:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
xhr.setRequestHeader('Content-Type', 'application/json');
|
xhr.setRequestHeader('Content-Type', 'application/json');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue