roboto.http.request
Module Contents
ALWAYS_SCRUBBED_HEADERS
Header names, lowercase, whose values are always scrubbed from rendered requests.
BatchRequest
HttpRequest
class roboto. http. request. HttpRequest(url, method='GET', headers=None, data=None, retry_wait=None, idempotent=False)#View Source
Parameters
url strmethod strheaders Optional[dict[str, str]]data Anyretry_wait Optional[roboto.idempotent boolHttpRequest.append_headers()
Parameters
headers dict[str, str]Return type
None
Properties
Attributes
HttpRequest.data
HttpRequest.describe()
Render the request for logging, with sensitive header values replaced by *.
Parameters
scrub_headers Collection[str]Header names, compared case-insensitively, to scrub in addition to ALWAYS_SCRUBBED_HEADERS.
Return type
str
Attributes
HttpRequest.headers
Properties
Attributes