The bug shows up in functional tests, this particular case triggers it:
nosetests test.functional.tests:TestFile.testHead
We have traced it down to this change in WebOb made on Jun 30 2011, shortly after 1.0.8 was released: https://github.com/Pylons/webob/commit/2e23e221ff85eac81623ff7a07b1a630ae263ec9 "make sure WSGIHTTPException return the same headers for HEAD and GET requests"
It appears that a contributing factor is that Swift uses exceptions even for successful results, such as webob.exc.HTTPOk. The erroneous content-type and content-length correspond to the textual representation of the HTTPOk "exception".
The bug shows up in functional tests, this particular case triggers it:
nosetests test.functional .tests: TestFile. testHead
We have traced it down to this change in WebOb made on Jun 30 2011, shortly after 1.0.8 was released: /github. com/Pylons/ webob/commit/ 2e23e221ff85eac 81623ff7a07b1a6 30ae263ec9
https:/
"make sure WSGIHTTPException return the same headers for HEAD and GET requests"
It appears that a contributing factor is that Swift uses exceptions even for successful results, such as webob.exc.HTTPOk. The erroneous content-type and content-length correspond to the textual representation of the HTTPOk "exception".