Hi @JohnSebastian-3934,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
We understand that you have set a rule to remove the accept-encoding request header but still it is reflected in the browser.
Could you please verify on below things:
- Please cross-check the rule set created previously, which is properly configured to remove the header. Please verify the action to remove the header is properly defined or not and also make sure that the rule is associated with the correct front endpoint. For your reference: https://learn.microsoft.com/en-us/azure/frontdoor/standard-premium/how-to-configure-rule-set#configure-rule-set-in-azure-portal
- Make sure that you have given a higher priority to remove the accept-encoding header.
- Please try to use the different tools (curl, postman) to confirm that the rule is working properly.
curl -H "Accept-Encoding: gzip" <your_front_door_url>
- For disabling compression on Azure Front Door, please refer: https://learn.microsoft.com/en-us/azure/frontdoor/how-to-configure-caching#:~:text=Optionally%2C%20select%20Enable%20compression%20for%20Front%20Door%20to%20compress%20responses%20to%20the%20client
- Please try to enable diagnostic logging on your Azure Front Door to get more insights.
Kindly let us know if the above helps or you need further assistance on this issue.
If the answer is helpful, please click "Accept Answer" and "Upvote it" so that other community members can find the right answers.
Thanks,
Sai Prasanna.