File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
5-network/07-xmlhttprequest Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ We can use `xhr.responseType` property to set the response format:
143
143
144
144
- `""` (default) -- get as string,
145
145
- `"text"` -- get as string,
146
- - `"arraybuffer"` -- get as `ArrayBuffer` (for binary data, see chapter <info:arraybuffer-and-views >),
146
+ - `"arraybuffer"` -- get as `ArrayBuffer` (for binary data, see chapter <info:arraybuffer-binary-arrays >),
147
147
- `"blob"` -- get as `Blob` (for binary data, see chapter <info:blob>),
148
148
- `"document"` -- get as XML document (can use XPath and other XML methods),
149
149
- `"json"` -- get as JSON (parsed automatically).
@@ -261,7 +261,7 @@ There are 3 methods for HTTP-headers:
261
261
` ` `
262
262
263
263
` ` ` ` warn header= " Can't remove a header"
264
- Another peciliarity of ` XMLHttpRequest` is that one can' t undo `setRequestHeader`.
264
+ Another peculiarity of ` XMLHttpRequest` is that one can' t undo `setRequestHeader`.
265
265
266
266
Once the header is set, it' s set . Additional calls add information to the header, don' t overwrite it.
267
267
You can’t perform that action at this time.
0 commit comments