l.s.w.s.ProtocolErrorException(Exception) : class documentation

Part of lp.services.webapp.servers View In Hierarchy

An exception for requests that turn out to be protocol errors.
Method __init__ Store status and headers for rendering in the HTTP response.
Method __str__ A protocol error can be well-represented by its HTTP status code.
def __init__(self, status, headers):
Store status and headers for rendering in the HTTP response.
def __str__(self):
A protocol error can be well-represented by its HTTP status code.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.