Comment on issue #13

master
Stephane Bortzmeyer 10 years ago
parent cfd4c7d16f
commit 0999ea2458
  1. 2
      DNSLG/__init__.py

@ -32,6 +32,8 @@ default_bucket_size = 5
# Misc. util. routines
def send_response(start_response, status, output, type):
# TODO: an input parameter indicating the expiration time, and
# produces an Expires: HTTP header. See issue #13
response_headers = [('Content-type', type),
('Content-Length', str(len(output))),
('Allow', 'GET')]

Loading…
Cancel
Save