Skip to content

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

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

Removed a warning that was displayed for HEAD requests.#7
mcdonc merged 2 commits intoPylons:masterfrom
madjar:master

Conversation

@madjar
Copy link
Copy Markdown
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
Copy Markdown
Member

mcdonc commented Jan 10, 2013

Thank you!

@merwok
Copy link
Copy Markdown

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
Copy Markdown

davidjb commented Apr 29, 2013

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

@mcdonc
Copy link
Copy Markdown
Member

mcdonc commented Apr 29, 2013

0.8.3 just released with the fix.

@davidjb
Copy link
Copy Markdown

davidjb commented Apr 29, 2013

Thanks @mcdonc!

@merwok
Copy link
Copy Markdown

merwok commented Apr 29, 2013

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