Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 400 Bad request when creating CachePolicy on the Distribution. #188

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

AlbertSabate
Copy link
Contributor

@AlbertSabate AlbertSabate commented Dec 18, 2023

Fixes #189

AllowList accept-encoding headerBehaviour is not compatible with enableAcceptEncodingGzip: true.

My recommendation is to remove accept-encoding from allowList headerBehaviour as default. And the final user can amend as they wish. But like this, the default options will be functional.

Fixes #

AllowList accept-encoding headerBehaviour is not compatible with enableAcceptEncodingGzip: true.

My recommendation is to remove accept-encoding from allowList headerBehaviour as default. And the final user can amend as they wish. But like this, the default options will be functional.
@AlbertSabate AlbertSabate changed the title Fixes 400 Bad request when creating CachePolicy on the Distribution. Fixes #189 - 400 Bad request when creating CachePolicy on the Distribution. Dec 19, 2023
@AlbertSabate AlbertSabate changed the title Fixes #189 - 400 Bad request when creating CachePolicy on the Distribution. fix: 400 Bad request when creating CachePolicy on the Distribution. Dec 19, 2023
@bestickley
Copy link
Collaborator

Thank you, @AlbertSabate! I just ran into this myself.

@bestickley bestickley merged commit c4c8159 into jetbridge:main Dec 19, 2023
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When deploying the Distribution the CachePolicy creation returns 400 Bad request
2 participants