diff options
author | Luca Casonato <hello@lcas.dev> | 2022-08-23 12:43:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 12:43:04 +0200 |
commit | 24f7f3fda984e7226b5858085a7ed1c53ab081e0 (patch) | |
tree | c72348b71d68ea200644e8a07806d1ba9888a8a6 /cli/tests/integration/cache_tests.rs | |
parent | ecf3b51fd93c36f10e7ce53e961bdeca449a955f (diff) |
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.
Diffstat (limited to 'cli/tests/integration/cache_tests.rs')
0 files changed, 0 insertions, 0 deletions