Skip to content

Commit 58993dc

Browse files
authored
public repo edit
1 parent a660dfc commit 58993dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/application-gateway/rewrite-http-headers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ You can evaluate an HTTP request or response header for the presence of a header
153153

154154
- If a response has more than one header with the same name, then rewriting the value of one of those headers will result in dropping the other headers in the response. This can usually happen with Set-Cookie header since you can have more than one Set-Cookie header in a response. One such scenario is when you are using an app service with an application gateway and have configured cookie-based session affinity on the application gateway. In this case the response will contain two Set-Cookie headers: one used by the app service, for example: `Set-Cookie: ARRAffinity=ba127f1caf6ac822b2347cc18bba0364d699ca1ad44d20e0ec01ea80cda2a735;Path=/;HttpOnly;Domain=sitename.azurewebsites.net` and another for application gateway affinity, for example, `Set-Cookie: ApplicationGatewayAffinity=c1a2bd51lfd396387f96bl9cc3d2c516; Path=/`. Rewriting one of the Set-Cookie headers in this scenario can result in removing the other Set-Cookie header from the response.
155155

156-
- Rewrites are not supported when the Application Gateway is configured to redirect the requests or configured to show custom error page.
156+
- Rewrites are not supported when the application gateway is configured to redirect the requests or to show a custom error page.
157157

158158
- Rewriting the Connection, Upgrade, and Host headers isn't currently supported.
159159

0 commit comments

Comments
 (0)