Expand description
The proxy-rewrite node โ rewrites the request path and adds/removes
headers on either the request or the response, depending on phase.
Structsยง
- Proxy
Rewrite Plugin - Mutates either
Context.requestorContext.response(selected byphase): strips/adds a path prefix and adds/removes headers. Path rewriting only applies in the request phase; header names are lowercased before being applied. This plugin never fails at execution time.
Enumsยง
- Rewrite
Phase ๐ - Which side of the exchange the rewrite applies to.
Functionsยง
- header_
value_ ๐to_ string - Stringifies a scalar header value (string, number, or bool); returns
Nonefor non-scalar shapes so callers can reject them at config load. - parse_
add_ ๐headers - Accepts both config shapes for
add_headers: