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('"', '\\"')