aboutsummaryrefslogtreecommitdiff
path: root/rpki/rootd.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-12-19 17:38:55 +0000
committerRob Austein <sra@hactrn.net>2014-12-19 17:38:55 +0000
commit17dc566f6ab144bb5be8ceaa23595c960d917fba (patch)
treef099b3b24cbf3b01e89072112efdfd20d4379e9f /rpki/rootd.py
parentb2b0d58c3eecb66c5a36cd912ce7da422065a3b1 (diff)
Accept either old or new MIME Content-Type in up-down server code, and
allow configuration of either old or new in up-down client code. For the moment, client defaults to using the old Content-Type, to avoid breaking deployed services, but this will change at some point. See #747. svn path=/trunk/; revision=6045
Diffstat (limited to 'rpki/rootd.py')
-rw-r--r--rpki/rootd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpki/rootd.py b/rpki/rootd.py
index fb445213..78a71bba 100644
--- a/rpki/rootd.py
+++ b/rpki/rootd.py
@@ -385,4 +385,4 @@ class main(object):
rpki.http.server(host = self.http_server_host,
port = self.http_server_port,
- handlers = self.up_down_handler)
+ handlers = (("/", self.up_down_handler, rpki.up_down.allowed_content_types),))