pub fn build_origin_request(request: &ForwardRequest) -> StringExpand description
Build an origin-form HTTP request to send to the upstream server.
Converts the parsed absolute-form request into origin-form by:
- Using only the path component as the request target
- Filtering out hop-by-hop headers
- Adding
Connection: closeto avoid keep-alive complications