On Sat, Nov 16, 2013 at 07:14:54AM +0100, Tamer Higazi wrote:
> Hi people!
> 
> Any ideas how to get the http headers of a request object ?!

AFAICT the only way is

  [(k, v) for k, v in request.environment.items() if k.startswith('HTTP_')]

Marius Gedminas
-- 
I saw `cout' being shifted "Hello world" times to the left and stopped right
there!!
        -- Steve Gonedes

Attachment: signature.asc
Description: Digital signature

_______________________________________________
bluebream mailing list
[email protected]
https://mail.zope.org/mailman/listinfo/bluebream

Reply via email to