From 5a9171602adb17bb0af89fc5ae2b954e40596fc9 Mon Sep 17 00:00:00 2001 From: Anton Krekotun <36279559+tonchique@users.noreply.github.com> Date: Tue, 28 May 2019 15:32:20 +0300 Subject: [PATCH] Update article.md Fixed ArrayBuffer article link; Fixed typo; --- 5-network/07-xmlhttprequest/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/5-network/07-xmlhttprequest/article.md b/5-network/07-xmlhttprequest/article.md index 72e09b67..6421ee48 100644 --- a/5-network/07-xmlhttprequest/article.md +++ b/5-network/07-xmlhttprequest/article.md @@ -143,7 +143,7 @@ We can use `xhr.responseType` property to set the response format: - `""` (default) -- get as string, - `"text"` -- get as string, -- `"arraybuffer"` -- get as `ArrayBuffer` (for binary data, see chapter ), +- `"arraybuffer"` -- get as `ArrayBuffer` (for binary data, see chapter ), - `"blob"` -- get as `Blob` (for binary data, see chapter ), - `"document"` -- get as XML document (can use XPath and other XML methods), - `"json"` -- get as JSON (parsed automatically). @@ -261,7 +261,7 @@ There are 3 methods for HTTP-headers: ``` ````warn header="Can't remove a header" - Another peciliarity of `XMLHttpRequest` is that one can't undo `setRequestHeader`. + Another peculiarity of `XMLHttpRequest` is that one can't undo `setRequestHeader`. Once the header is set, it's set. Additional calls add information to the header, don't overwrite it.