Skip to content

Always add Content-Length: 0 even for empty bodies#917

Open
onno-vos-dev wants to merge 1 commit into
benoitc:masterfrom
onno-vos-dev:always-add-content-length-even-for-0-sized-bodies
Open

Always add Content-Length: 0 even for empty bodies#917
onno-vos-dev wants to merge 1 commit into
benoitc:masterfrom
onno-vos-dev:always-add-content-length-even-for-0-sized-bodies

Conversation

@onno-vos-dev

Copy link
Copy Markdown

I got a report on aws-beam/aws-elixir#238 that the upgrade I recently did to a later version of Hackney broke things for 0-sized bodies. AWS apparently requires a Content-Length being set even for 0-sized bodies.

Instead of implementing a fix on my end, I'm testing the waters to see how open you are to fixing this from within Hackney itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant