diff options
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" |