⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.
2013-present by Abhinav Singh and contributors.
BSD, see LICENSE for more details.
- exception proxy.http.exception.http_request_rejected.HttpRequestRejected(status_code: Optional[int] = None, reason: Optional[bytes] = None, headers: Optional[Dict[bytes, bytes]] = None, body: Optional[bytes] = None, **kwargs: Any)#
Generic exception that can be used to reject the client requests.
Connections can either be dropped/closed or optionally an HTTP status code can be returned.