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

Removed a warning that was displayed for HEAD requests. #7

Merged
merged 2 commits into from Jan 10, 2013

Conversation

@madjar
Copy link
Contributor

@madjar madjar commented Nov 24, 2012

application returned too few bytes (0) for specified Content-Length (85506) via app_iter

I kept getting this warning when doing HEAD requests, but it seems normal to me to get no content in a head request. I made waitress check if the request is a HEAD before issuing the warning.

This patch comes with a test, and a little fix to the tests (first of the two commits).

@mcdonc mcdonc merged commit d4ca0df into Pylons:master Jan 10, 2013
@mcdonc
Copy link
Member

@mcdonc mcdonc commented Jan 10, 2013

Thank you!

@merwok
Copy link

@merwok merwok commented Mar 7, 2013

Can I ask if this fix is part of a released version? I ran into it today.

@davidjb
Copy link

@davidjb davidjb commented Apr 29, 2013

@merwok: seemingly not yet. It's still in the 'Next Release' section of the change log.

@mcdonc
Copy link
Member

@mcdonc mcdonc commented Apr 29, 2013

0.8.3 just released with the fix.

@davidjb
Copy link

@davidjb davidjb commented Apr 29, 2013

Thanks @mcdonc!

@merwok
Copy link

@merwok merwok commented Apr 29, 2013

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

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.