Expand description
Constants and code for the HTTP headers we use.
ConstantsΒ§
- ALL_
REQUEST_ πHEADERS - A list of all the headers that we support from client-to-proxy.
- CONTENT_
TYPE π - Used to indicate the media type of the resource.
- HOST π
- Specifies the domain name of the server and (optionally) the TCP port number on which the server is listening.
- PROXY_
AUTHORIZATION π - Contains the credentials to authenticate a user agent to a proxy server.
- SERVER π
- Contains information about the software used by the origin server to handle the request.
- TOR_
CAPABILITIES π - Proxy-to-client: A list of the capabilities that this proxy provides.
- TOR_
FAMILY_ πPREFERENCE - Client-to-proxy: Which IP family should we use?
- TOR_
REQUEST_ πFAILED - Proxy-to-client: A machine-readable list of failure reasons.
- TOR_
RPC_ πTARGET - Client-To-Proxy: The ID of an RPC object to receive our request.
- TOR_
STREAM_ πISOLATION - Client-To-Proxy: An isolation token to use with our stream.
- VIA π
- Added by proxies to track routing.
- X_
TOR_ πSTREAM_ ISOLATION - Client-To-Proxy: An isolation token to use with our stream. (Legacy name.)
FunctionsΒ§
- uniq_
utf8 π - Return the unique string-valued value of the header
name; or None if the header doesnβt exist, or an error if the header is duplicated or not UTF-8.