diff options
author | Rob Austein <sra@hactrn.net> | 2015-07-21 17:41:54 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-07-21 17:41:54 +0000 |
commit | c82f46c999a2dbd147dc5f126c368b84ad663234 (patch) | |
tree | 73efa0705d4abb76e5afe743d052fc90b2a042e6 /rpki/up_down.py | |
parent | 9376f9afbade89253f354e9164a6f40328fa494a (diff) |
Last batch of catch-up merges. Still need to test, but this is a
development branch, so committing the merge before testing shouldn't
break anything.
svn path=/branches/tk705/; revision=6084
Diffstat (limited to 'rpki/up_down.py')
-rw-r--r-- | rpki/up_down.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/rpki/up_down.py b/rpki/up_down.py index 7b392640..839c60f6 100644 --- a/rpki/up_down.py +++ b/rpki/up_down.py @@ -35,11 +35,20 @@ from lxml.etree import Element, SubElement, tostring as ElementToString logger = logging.getLogger(__name__) - xmlns = rpki.relaxng.up_down.xmlns nsmap = rpki.relaxng.up_down.nsmap version = "1" +## @var content_type +# MIME content type to use when sending up-down queries. +#content_type = "application/rpki-updown" +content_type = "application/x-rpki" + +## @var allowed_content_types +# MIME content types which we consider acceptable for incoming up-down +# queries. +allowed_content_types = ("application/rpki-updown", "application/x-rpki") + tag_certificate = xmlns + "certificate" tag_class = xmlns + "class" tag_description = xmlns + "description" |