Undocumented
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
A utility class currently used for making lookups against proxy keys... |
Function | format |
Encode a name/value pair within a multipart form. |
Function | get |
Undocumented |
Function | get |
Gets proxy information from the environment |
Function | get |
Get a `logging.Logger` instance, and optionally set up debug logging based on the HTTPX_LOG_LEVEL environment variable. |
Function | guess |
Undocumented |
Function | guess |
Undocumented |
Function | is |
Return 'True' if 'location' is a HTTPS upgrade of 'url' |
Function | is |
Return `True` if `encoding` is a known codec. |
Function | normalize |
Coerce str/bytes into a strictly byte-wise HTTP header key. |
Function | normalize |
Coerce str/bytes into a strictly byte-wise HTTP header value. |
Function | obfuscate |
Undocumented |
Function | parse |
Undocumented |
Function | parse |
Returns a list of parsed link headers, for more info see: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link The generic syntax of those is: Link: < uri-reference >; param1=value1; param2="value2" So for instance: Link; '<http:/... |
Function | peek |
Given a file-like stream object, return its length in number of bytes without reading it into memory. |
Function | port |
Undocumented |
Function | primitive |
Coerce a primitive data type into a string value. |
Function | same |
Return 'True' if the given URLs share the same origin. |
Function | to |
Undocumented |
Function | to |
Undocumented |
Function | to |
Undocumented |
Function | unquote |
Undocumented |
Constant | SENSITIVE |
Undocumented |
Constant | TRACE |
Undocumented |
Constant | _HTML5 |
Undocumented |
Constant | _HTML5 |
Undocumented |
Constant | _LOGGER |
Undocumented |
Variable | _null |
Undocumented |
Variable | _null2 |
Undocumented |
Variable | _null3 |
Undocumented |
Gets proxy information from the environment
Returns | |
typing.Dict[ | Undocumented |
Undocumented
Parameters | |
filename:typing.Optional[ | Undocumented |
Returns | |
typing.Optional[ | Undocumented |
Return 'True' if 'location' is a HTTPS upgrade of 'url'
Parameters | |
url:URL | Undocumented |
location:URL | Undocumented |
Returns | |
bool | Undocumented |
Coerce str/bytes into a strictly byte-wise HTTP header key.
Parameters | |
value:typing.Union[ | Undocumented |
lower:bool | Undocumented |
encoding:typing.Optional[ | Undocumented |
Returns | |
bytes | Undocumented |
Coerce str/bytes into a strictly byte-wise HTTP header value.
Parameters | |
value:typing.Union[ | Undocumented |
encoding:typing.Optional[ | Undocumented |
Returns | |
bytes | Undocumented |
Undocumented
Parameters | |
items:typing.Iterable[ | Undocumented |
Returns | |
typing.Iterator[ | Undocumented |
Returns a list of parsed link headers, for more info see: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link The generic syntax of those is: Link: < uri-reference >; param1=value1; param2="value2" So for instance: Link; '<http:/.../front.jpeg>; type="image/jpeg",<http://.../back.jpeg>;' would return [ {"url": "http:/.../front.jpeg", "type": "image/jpeg"}, {"url": "http://.../back.jpeg"}, ] :param value: HTTP Link entity-header field :return: list of parsed link headers
Parameters | |
value:str | Undocumented |
Returns | |
typing.List[ | Undocumented |
Given a file-like stream object, return its length in number of bytes without reading it into memory.
Parameters | |
stream:typing.Any | Undocumented |
Returns | |
typing.Optional[ | Undocumented |
Coerce a primitive data type into a string value. Note that we prefer JSON-style 'true'/'false' for boolean values here.
Parameters | |
value:PrimitiveData | Undocumented |
Returns | |
str | Undocumented |
Return 'True' if the given URLs share the same origin.
Parameters | |
url:URL | Undocumented |
other:URL | Undocumented |
Returns | |
bool | Undocumented |
Undocumented
Parameters | |
value:typing.Union[ | Undocumented |
encoding:str | Undocumented |
Returns | |
bytes | Undocumented |
Undocumented
Parameters | |
value:str | Undocumented |
matchtyping.AnyStr | Undocumented |
Returns | |
typing.AnyStr | Undocumented |
Undocumented
Parameters | |
value:typing.Union[ | Undocumented |
encoding:str | Undocumented |
Returns | |
str | Undocumented |
Undocumented
Value |
|