kennethreitz/httpbin — pull request #25 by tomviner (2012-01-07 22:18:30+00:00)
Title: /response-headers/ view with tests.

As [promised](https://twitter.com/#!/kennethreitz/status/144103720295211010), here is the response headers code. Note the loop to ensure that the content length mentioned in the json body is actually the right length of the body including that number itself. It's a minor self referential feedback situation, that should loop at most 3 times.