kennethreitz/httpbin — pull request #58 by mnunberg (2012-08-12 10:12:44+00:00)
Title: Some fixes

For using pywsgi.. the normal 'wsgi.py' module does not handle chunked responses very well.. making the header ("Transfer-Encoding: chunked") all wrong, and confuses clients like curl.

The second commit is a simple fixup for sleeping in the cooperative thread rather than a 'hard' sleep