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: prevent compression with Accept-Encoding #2414

Merged

Conversation

ojeytonwilliams
Copy link
Contributor

It seems that (apparently randomly) the index.json files are getting compressed and causing URI.open to fail. Possibly, it's a little unclear.

Nonetheless, sending the "Accept-Encoding" of "identity" seems to do the trick.

It seems that (apparently randomly) the index.json files are getting
compressed and causing URI.open to fail. Possibly, it's a little
unclear.

Nonetheless, sending the "Accept-Encoding" of "identity" seems to do the
trick.
@ojeytonwilliams ojeytonwilliams requested a review from a team as a code owner January 21, 2025 11:18
@ojeytonwilliams ojeytonwilliams merged commit b8f0127 into freeCodeCamp:main Jan 21, 2025
2 checks passed
@ojeytonwilliams ojeytonwilliams deleted the fix/avoid-compression branch January 21, 2025 11:20
@ojeytonwilliams
Copy link
Contributor Author

@simon04 I don't really get why this was necessary. I haven't changed anything over the last few days.

Let me know if it starts failing again, but hopefully this is enough.

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.

1 participant