MCPcopy Index your code
hub / github.com/pyload/pyload / BadHeader

Class BadHeader

module/network/HTTPRequest.py:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 530: 'Site Is Frozen - Used by the Pantheon web platform to indicate a site that has been frozen due to inactivity'}
54
55class BadHeader(Exception):
56 def __init__(self, code, header="", content=""):
57 int_code = int(code)
58 Exception.__init__(self, "Bad server response: %s %s" %
59 (code, responses.get(int_code, unofficial_responses.get(int_code, "unknown error code"))))
60 self.code = int_code
61 self.header = header
62 self.content = content
63
64
65class HTTPRequest():

Callers 1

verifyHeaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected