https://developers.google.com/appengine/docs/python/tools/webapp/responseclass?csw=1#Response_headers
http://docs.python.org/release/2.5.2/lib/module-wsgiref.headers.html

Actually it seems like using add_header can potentially end up with multiple headers of the same type. I verified it experimentally. We should probably use headers['blah'] everywhere..