| title | How To Use X-CF Headers | |
|---|---|---|
| expires_at | never | |
| tags |
|
| Header | If a client provides this header will that affect routing decisions? | Value | More info |
|---|---|---|---|
| X-CF-ApplicationID | No | App GUID for the app that Gorouter proxied the request to. | This header is always set/overwritten on the request by Gorouter when sending traffic to an app. |
| X-CF-InstanceID | No | Instance GUID for the app that Gorouter proxied the request to. | This header is always set/overwritten on the request by Gorouter when sending traffic to an app. |
| X-Cf-Instanceindex | No | Instance index for the app that Gorouter proxied the request to. | This header is always set/overwritten on the request by Gorouter when sending traffic to an app. |
| X-Cf-App-Instance | Yes | Instance index for the app that Gorouter proxied the request to. | This is a header that can be provided by the user for routing to a specific instance. Gorouter does not change this header. Set it in the format: "APP-GUID:APP-INSTANCE-INDEX". If you provide an invalid header (bad format, nonexistent GUID/index) then Gorouter will return a 400. See here for more docs. |
| X-Cf-RouterError | No | See possible values here. | Gorouter adds this header to the response when a routing error has occurred. |