简体   繁体   中英

Does AWS X-ray or CloudWatch capture the HTTP response header Content-Encoding?

I have an application hosted in AWS which looks to occassionally give responses which have the following header and value. It is not all the time, which is what I find odd.

Content-Encoding: gzip

What I would like to know is whether I can use either AWS X-ray or CloudWatch to query for any responses that have had the Content-Encoding header output.

I have checked the AWS X-Ray filters but I cannot seen anything that allows me to search for headers that was contained in a response.

Thanks

AWS X-Ray does not provide a mechanism to capture HTTP header values in the responses, so it would probably not work out for you. I'm not sure of CloudWatch though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM