aws-sdk-js icon indicating copy to clipboard operation
aws-sdk-js copied to clipboard

fix(event_listeners): do not add content length 0 to bodyless request methods

Open kuhe opened this issue 3 years ago • 0 comments

Do not add content length 0 header to GET, DELETE, TRACE, OPTIONS, and HEAD requests.

  • [x] add/fix unit tests
Checklist
  • [x] npm run test passes
  • n/a .d.ts file is updated
  • [x] changelog is added, npm run add-change
  • [x] run bundle exec rake docs:api and inspect doc/latest/index.html if documentation is changed
  • n/a run npm run integration if integration test is changed
  • n/a non-code related change (markdown/git settings etc)

kuhe avatar Sep 05 '22 20:09 kuhe