Expand description
Request and response bodies.
A request body is raw bytes (Request::body: Vec<u8>). A response body is a
list of ContentRanges — usually one, several
for a multipart/byteranges (range) response.
Parsers for the common request encodings:
form_urlencoded—application/x-www-form-urlencodedmultipart_form_data—multipart/form-data(each part has headers,Content-Dispositionrequired, and a body)- JSON — see
crate::json
HEAD and OPTIONS requests carry no body. Examples: src/body/example/.