pyreqwest.request
Requests classes and builders.
Enable automatic HTTP error raising (4xx/5xx).
Append a single header value. Using is_sensitive masks the value from repr of request HeaderMap.
Merge multiple headers (mapping or sequence).
Add/merge query parameters.
Set application/x-www-form-urlencoded body.
Arbitrary per-request data storage. Useful for passing through data to middleware and response.
Request builder. Use build() or build_streamed() to create the request to send.
Set streaming request body.
Use a middleware component (added after client level middlewares, executed in chain order).
Synchronous request builder. Use build() or build_streamed() to create the request to send.
Set streaming request body.
Use a middleware component (added after client level middlewares, executed in chain order).
Copy the request. Byte-bodies are zero-copied. Stream bodies are re-created via their own copy logic.
Get the headers. This is not a copy. Modifying it modifies the request.
Request that will fully read the response body when sent.
Inherited Members
Request whose response body is streamed.
Inherited Members
Synchronous request that will fully read the response body when sent.
Inherited Members
Synchronous request whose response body is streamed.
Inherited Members
Represents request body content (bytes, text, or async stream). Bodies are single-use.
Create body from async byte stream.
One-off request builder. Use send() to execute the request.
Use a middleware component.
Synchronous one-off request builder. Use send() to execute the request.
Use a middleware component.