Skip to content

Commit fef36c1

Browse files
author
duongau
committed
added sentence line - 28
1 parent c809863 commit fef36c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

articles/frontdoor/front-door-http-headers-protocol.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ This article outlines the protocol that Front Door supports with parts of the ca
2222
>Front Door doesn't certify any HTTP headers that aren't documented here.
2323
2424
## Client to Front Door
25+
2526
Front Door accepts most headers for the incoming request without modifying them. Some reserved headers are removed from the incoming request if sent, including headers with the X-FD-* prefix.
2627

28+
The debug request header, "X-Azure-DebugInfo", provides additional debugging information about the Front Door. You need to send "X-Azure-DebugInfo: 1" request header from client to Front Door to receive [optional response headers](#optional-debug-response-headers) from Front Door to client.
29+
2730
## Front Door to backend
2831

2932
Front Door includes headers for an incoming request unless they're removed because of restrictions. Front Door also adds the following headers:
@@ -51,6 +54,8 @@ Any headers sent to Front Door from the backend are also passed through to the c
5154
| X-Azure-Ref | *X-Azure-Ref: 0zxV+XAAAAABKMMOjBv2NT4TY6SQVjC0zV1NURURHRTA2MTkANDM3YzgyY2QtMzYwYS00YTU0LTk0YzMtNWZmNzA3NjQ3Nzgz* </br> This is a unique reference string that identifies a request served by Front Door, which is critical for troubleshooting as it's used to search access logs.|
5255
| X-Cache | *X-Cache:* This header describes the caching status of the request <br/> - *X-Cache: TCP_HIT* : The first byte of the request is a cache hit in the Front Door edge. <br/> - *X-Cache: TCP_REMOTE_HIT*: The first byte of the request is a cache hit in the regional cache (origin shield layer) but a miss in the edge cache. <br/> - *X-Cache: TCP_MISS*: The first byte of the request is a cache miss, and the content is served from the origin. <br/> - *X-Cache: PRIVATE_NOSTORE* : Request cannot be cached as Cache-Control response header is set to either private or no-store. <br/> - *X-Cache: CONFIG_NOCACHE*: Request is configured to not cache in the Front Door profile. |
5356

57+
### Optional debug response headers
58+
5459
You need to send "X-Azure-DebugInfo: 1" request header to enable the following optional response headers.
5560

5661
| Header | Example and description |

0 commit comments

Comments
 (0)