From 4ad614f46d1a536be0f73f9a0d0568e8081b8f23 Mon Sep 17 00:00:00 2001 From: benoitc Date: Mon, 20 Feb 2012 19:51:56 +0100 Subject: [PATCH] add Kristian Glass to the THANKS. --- THANKS | 1 + gunicorn/glogging.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/THANKS b/THANKS index 05dab97d..1854d91c 100644 --- a/THANKS +++ b/THANKS @@ -37,3 +37,4 @@ Jonas Borgström Evan Mezeske Darii Denis Dan Callaghan +Kristian Glass diff --git a/gunicorn/glogging.py b/gunicorn/glogging.py index 6685866f..07596c02 100644 --- a/gunicorn/glogging.py +++ b/gunicorn/glogging.py @@ -157,6 +157,9 @@ class Logger(object): atoms.update(dict([(k,v) for k, v in environ.items() \ if k.startswith('HTTP_')])) + # add Response headers + print resp.headers + for k, v in atoms.items(): atoms[k] = v.replace('"', '\\"')