pub async fn request_chunks(
router: &Router,
method: Method,
path: &str,
chunks: Vec<Bytes>,
) -> TestResponseExpand description
Sends a request whose body is the given chunks, as a chunked
(no content-length) transfer — what a client uploading a stream
produces, and the only shape that exercises a route’s
cratefield_core::RequestStream mid-stream ceiling rather than the
declared-length pre-check. content-type is set to
application/octet-stream.
§Panics
Panics when the router itself fails (never for ordinary responses).