1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/ext/fetch
Luca Casonato 24f7f3fda9
fix(ext/fetch): ignore user content-length header (#15555)
Previously if a user specified a content-length header for an POST
request without a body, the request would contain two `content-length`
headers. One added by us, and one added by the user.

This commit ignores all content-length headers coming from the user,
because we need to have the sole authority on the content-length because
we transmit the body.
2022-08-23 12:43:04 +02:00
..
01_fetch_util.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
20_headers.js chore(ext): fix typo in ext/webgpu, ext/fetch (#14106) 2022-03-25 00:36:30 +01:00
21_formdata.js refactor(ext) Decrease of StringPrototypeReplace recurrent usage (#15058) 2022-07-09 14:28:02 -04:00
22_body.js feat(ext/flash): An optimized http/1.1 server (#15405) 2022-08-18 17:35:02 +05:30
22_http_client.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
23_request.js feat(ext/flash): An optimized http/1.1 server (#15405) 2022-08-18 17:35:02 +05:30
23_response.js feat(ext/flash): An optimized http/1.1 server (#15405) 2022-08-18 17:35:02 +05:30
26_fetch.js refactor(fetch/request): use callback for url and method (#15483) 2022-08-17 16:29:26 +02:00
Cargo.toml chore: forward v1.24.3 release commit to main (#15462) 2022-08-11 16:47:03 -04:00
fs_fetch_handler.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
internal.d.ts chore: update copyright year (#13434) 2022-01-20 16:10:16 +09:00
lib.deno_fetch.d.ts docs: add permission tags to JSDocs (#15541) 2022-08-23 10:57:01 +10:00
lib.rs fix(ext/fetch): ignore user content-length header (#15555) 2022-08-23 12:43:04 +02:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00

deno_fetch

This crate implements the Fetch API.

Spec: https://fetch.spec.whatwg.org/