Commits

Brent Tubbs committed f5b48a9

allow extra_headers in config

Comments (0)

Files changed (1)

             stamp = mktime(expiration.timetuple())
             headers.append(('Expires', format_date_time(stamp)))
 
+        extra_headers = config.get('extra_headers')
+        if extra_headers:
+            headers.extend(extra_headers.items())
+
         start_response("200 OK", headers)
         return f