File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,20 @@ pub type CargoResult<T> = anyhow::Result<T>;
12
12
/// These are headers that are included in error messages to help with
13
13
/// diagnosing issues.
14
14
pub const DEBUG_HEADERS : & [ & str ] = & [
15
+ // This is the unique ID that identifies the request in CloudFront which
16
+ // can be used for looking at the AWS logs.
15
17
"x-amz-cf-id" ,
18
+ // This is the CloudFront POP (Point of Presence) that identifies the
19
+ // region where the request was routed. This can help identify if an issue
20
+ // is region-specific.
16
21
"x-amz-cf-pop" ,
22
+ // The unique token used for troubleshooting S3 requests via AWS logs or support.
23
+ "x-amz-request-id" ,
24
+ // Another token used in conjunction with x-amz-request-id.
17
25
"x-amz-id-2" ,
26
+ // Whether or not there was a cache hit or miss (both CloudFront and Fastly).
18
27
"x-cache" ,
28
+ // The cache server that processed the request (Fastly).
19
29
"x-served-by" ,
20
30
] ;
21
31
You can’t perform that action at this time.
0 commit comments