proxy.http.exception.base module#
proxy.py#
⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.
- copyright
2013-present by Abhinav Singh and contributors.
- license
BSD, see LICENSE for more details.
- exception proxy.http.exception.base.HttpProtocolException(message: Optional[str] = None, **kwargs: Any)[source]#
Bases:
Exception
Top level
HttpProtocolException
exception class.All exceptions raised during execution of HTTP request lifecycle MUST inherit
HttpProtocolException
base class. Implementresponse()
method to optionally return custom response to client.- response(request: HttpParser) Optional[memoryview] [source]#