Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waitress may be adding Content-Length on responses without Content-Length #152

Closed
bertjwregeer opened this issue Dec 29, 2016 · 1 comment
Closed
Assignees

Comments

@bertjwregeer
Copy link
Member

@bertjwregeer bertjwregeer commented Dec 29, 2016

I am seeing responses from Pyramid's httpexception.HTTPNoContent coming back from Waitress with a Content-Length set to 0. This is technically incorrect since HTTP Status Code 204 can't have a body it also can't have a content-length.

I am not sure if it is waitress or something else adding it, it's late and I am tired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant