MCPcopy Index your code
hub / github.com/python/cpython / ProtocolError

Class ProtocolError

Lib/xmlrpc/client.py:201–213  ·  view source on GitHub ↗

Indicates an HTTP protocol error.

Source from the content-addressed store, hash-verified

199# @param headers The HTTP header dictionary.
200
201class ProtocolError(Error):
202 """Indicates an HTTP protocol error."""
203 def __init__(self, url, errcode, errmsg, headers):
204 Error.__init__(self)
205 self.url = url
206 self.errcode = errcode
207 self.errmsg = errmsg
208 self.headers = headers
209 def __repr__(self):
210 return (
211 "<%s for %s: %s %s>" %
212 (self.__class__.__name__, self.url, self.errcode, self.errmsg)
213 )
214
215##
216# Indicates a broken XML-RPC response package. This exception is

Callers 1

single_requestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…