Skip to content

XMLHttpRequest #274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Apr 1, 2021
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update 5-network/08-xmlhttprequest/article.md
Co-authored-by: Andrea  <[email protected]>
  • Loading branch information
pierangelomiceli and longo-andrea authored Mar 28, 2021
commit 4879acb9e694a38a55f2376dae1e129ea0f4faed
2 changes: 1 addition & 1 deletion 5-network/08-xmlhttprequest/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ xhr.open('GET', url); // https://google.com/search?q=test+me%21
Utilizziamo la proprietà `xhr.responseType` per impostare il formato della risposta:

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