diff options
author | Luca Casonato <hello@lcas.dev> | 2021-10-11 18:39:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 18:39:55 +0200 |
commit | c40d5040cd577aa4ebe552242a06163fbcbc3d4b (patch) | |
tree | a3161729708e68d6de9a5b73e4f0d78ae7a8b536 /ext/fetch/23_response.js | |
parent | 70978fd05a2ef8b5035a2e829c21cdc13c05ac5b (diff) |
fix(http): don't expose body on GET/HEAD requests (#12260)
GET/HEAD requests can't have bodies according to `fetch` spec. This
commit changes the HTTP server to hide request bodies for requests with
GET or HEAD methods.
Diffstat (limited to 'ext/fetch/23_response.js')
0 files changed, 0 insertions, 0 deletions