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

Merged
merged 2 commits into from Jan 10, 2013

Projects

None yet

4 participants

@madjar
Contributor
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
Member
mcdonc commented Jan 10, 2013

Thank you!

@merwok
merwok commented Mar 7, 2013

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

@davidjb
davidjb commented Apr 29, 2013

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

@mcdonc
Member
mcdonc commented Apr 29, 2013

0.8.3 just released with the fix.

@davidjb
davidjb commented Apr 29, 2013

Thanks @mcdonc!

@merwok
merwok commented Apr 29, 2013

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