Skip to content

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

Merged
mcdonc merged 2 commits into
Pylons:masterfrom
madjar:master
Jan 10, 2013
Merged

mcdonc merged 2 commits into
Pylons:masterfrom
madjar:master

Conversation

@madjar

@madjar madjar commented Nov 24, 2012

Copy link
Copy Markdown
Contributor

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

mcdonc commented Jan 10, 2013

Copy link
Copy Markdown
Member

Thank you!

@merwok

merwok commented Mar 7, 2013

Copy link
Copy Markdown

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

@davidjb

davidjb commented Apr 29, 2013

Copy link
Copy Markdown

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

@mcdonc

mcdonc commented Apr 29, 2013

Copy link
Copy Markdown
Member

0.8.3 just released with the fix.

@davidjb

davidjb commented Apr 29, 2013

Copy link
Copy Markdown

Thanks @mcdonc!

@merwok

merwok commented Apr 29, 2013

Copy link
Copy Markdown

✨

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.

4 participants