Skip to content

Commit 4879acb

Browse files
Update 5-network/08-xmlhttprequest/article.md
Co-authored-by: Andrea <45577511+longo-andrea@users.noreply.github.com>
1 parent fd33857 commit 4879acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-network/08-xmlhttprequest/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ xhr.open('GET', url); // https://google.com/search?q=test+me%21
148148
Utilizziamo la proprietà `xhr.responseType` per impostare il formato della risposta:
149149

150150
- `""` (default) -- ottenerlo come stringa,
151-
- `"text"` -- ottiene una stringa,
151+
- `"text"` -- ottenerlo come stringa,
152152
- `"arraybuffer"` -- ottenerlo come `ArrayBuffer` (per dati di tipo binario, guardare il capitolo <info:arraybuffer-binary-arrays>),
153153
- `"blob"` -- ottiene un `Blob` (per dati binari, guardare <info:blob>),
154154
- `"document"` -- ottenerlo come un documento XML (può usare XPath e altri metodi XML) o un documento HTML (basato sul MIME type del dato ricevuto),

0 commit comments

Comments
 (0)