Pylons/pyramid_cookbook — pull request #117 by saschagottfried (2014-09-09 10:42:24+00:00)
Title: Improve & extend cookbook recipe

Use wsgiref server since we use a single file application and not a scaffold that installs paste as a dependency. Explain step-by-step. Switch from print statements to JSON responses to keep the reader more focused to aspects of HTTP from curl and python calls. Slightly improve python program using a context manager and print response headers to have the response just like we have seen from curl.