aboutsummaryrefslogtreecommitdiff
path: root/ca/tests/testpoke.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 /ca/tests/testpoke.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 'ca/tests/testpoke.py')
-rw-r--r--ca/tests/testpoke.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ca/tests/testpoke.py b/ca/tests/testpoke.py
index efa068c9..c28ed397 100644
--- a/ca/tests/testpoke.py
+++ b/ca/tests/testpoke.py
@@ -105,7 +105,8 @@ def query_up_down(q_pdu):
msg = q_der,
url = yaml_data["posturl"],
callback = done,
- errback = fail)
+ errback = fail,
+ content_type = rpki.up_down.content_type)
def do_list():
query_up_down(rpki.up_down.list_pdu())