diff options
author | Rob Austein <sra@hactrn.net> | 2015-10-22 02:02:23 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-10-22 02:02:23 +0000 |
commit | 32d43381dfc0370acb774951f9cdd0cdb1ab7f1b (patch) | |
tree | cfb37241df8d869ed08a24b3021a4a599cb98bdb /rpki/exceptions.py | |
parent | 1ca142b706eab552f9e2c575ef15d1862516393b (diff) |
First cut at replacing rpkid's HTTP and I/O system with Tornado. Not
quite working perfectly yet (cron is a bit wonky) but manages to
produce an initial set of ROAs without thowing any exceptions, and
code is already much cleaner than the old callback-based horror.
svn path=/branches/tk705/; revision=6139
Diffstat (limited to 'rpki/exceptions.py')
-rw-r--r-- | rpki/exceptions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rpki/exceptions.py b/rpki/exceptions.py index b6889b0d..f456dfc5 100644 --- a/rpki/exceptions.py +++ b/rpki/exceptions.py @@ -238,3 +238,6 @@ class WrongEKU(RPKI_Exception): class UnexpectedUpDownResponse(RPKI_Exception): "Up-down message is not of the expected type." + +class BadContentType(RPKI_Exception): + "Bad HTTP Content-Type." |