Skip to main content

Module forward

Module forward 

Source
Expand description

Forward requests to upstream provider APIs and stream responses back.

Handles header forwarding (auth passthrough), hop-by-hop header stripping (RFC 9110 §7.6.1), and transparent SSE/chunked response streaming.

Functions§

forward_request
Forward a request to an upstream URL, streaming the response back.