You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide reusable core primitives for building streaming responses without requiring a known content length. HTTP wire framing belongs to the adapter.
Body::stream and fallible Body::from_stream construct portable streaming bodies. response_with_body/IntoResponse accept them without adding a buffered content length, and the streaming guide documents chunked transfer and adapter limitations.
Steps to reproduce
Inspect the core body constructors and response helper.
Inspect the streaming guide section describing unknown-length responses and chunked transfer.
Expected behavior
A handler can return a streaming body through a standard core response helper; capable adapters choose the appropriate transfer framing.
Impact
The requested helper is already available; all-adapter progressive delivery remains tracked separately.
Proposed fix
Close as completed using the existing body/response API. Do not hardcode an HTTP/1.1 Transfer-Encoding header into the portable core.
Done when
Core exposes infallible and fallible streaming body constructors.
Core response construction accepts a stream without buffering it or inventing its length.
Documentation explains unknown-length/chunked delivery and the runtime-specific buffering limits.
Activity
[-]Streaming response helper[/-][+]Provide a core streaming response helper[/+]