pyreqwest.request
Requests classes and builders.
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
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 builder. Use build()
or build_streamed()
to create the request to send.
Synchronous request builder. Use build()
or build_streamed()
to create the request to send.
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.
Represents request body content (bytes, text, or async stream). Bodies are single-use.
Create body from async byte stream.