aws-sdk-js
aws-sdk-js copied to clipboard
fix(event_listeners): do not add content length 0 to bodyless request methods
Do not add content length 0 header to GET, DELETE, TRACE, OPTIONS, and HEAD requests.
- [x] add/fix unit tests
Checklist
- [x]
npm run testpasses - n/a
.d.tsfile is updated - [x] changelog is added,
npm run add-change - [x] run
bundle exec rake docs:apiand inspectdoc/latest/index.htmlif documentation is changed - n/a run
npm run integrationif integration test is changed - n/a non-code related change (markdown/git settings etc)