amplify-hosting icon indicating copy to clipboard operation
amplify-hosting copied to clipboard

The content-encoding header is missing in response

Open parth-prajapati-git opened this issue 3 years ago • 2 comments

Before opening, please confirm:

App Id

No response

Region

No response

Amplify Console feature

No response

Describe the bug

When my app request to get the main js asset, The content-encoding header is missing in response even if the accept-encoding header is included in the request.

Same issue https://github.com/aws-amplify/amplify-console/issues/330

Expected behavior

Should get a response with content-encoding header

Reproduction steps

Request for the assets

Build Settings

No response

Additional information

No response

parth-prajapati-git avatar Nov 22 '21 12:11 parth-prajapati-git

Hi :wave:, thanks for opening! While we look into this...

If this issue is related to custom domains, be sure to check the custom domains troubleshooting guide to see if that helps. Also, there is a more general troubleshooting FAQ that may be helpful for other questions.

Lastly, please make sure you've specified the App ID and Region in the issue!

github-actions[bot] avatar Nov 22 '21 12:11 github-actions[bot]

This is still broken. There are still no Content-Encoding headers being returned from Amplify. Here's a NextJS demo I have running on Amplify for reference: https://main.d1d4qzybk2342u.amplifyapp.com/

eaoliver avatar Mar 14 '24 02:03 eaoliver