8.18
5 Payload Data
| annotation | |
Equivalent to
(Headers)
representing a function to generate a payload for Session.request.
| function | |
| 
 | 
Produces a payload function that buffers the result of f in
memory to determine its length before sending it to the server.
| function | |
| 
 | 
Produces a payload function that encodes v as form data using the
application/x-www-form-urlencoded content type.
| function | |
| 
 | 
Produces a payload function that encodes v as JSON data.
| function | |
Produces a payload function that gzips the output of f.
| function | ||
| 
 | 
Produces a payload function that uses inp as the request body.