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

Add text/fragment+html to accept header #21

Merged
merged 1 commit into from
Jan 29, 2020

Conversation

koddsson
Copy link
Contributor

Turns out that text/html; fragment isn't a valid mimetype which causes some issues with gzip compression in nginx. Changing it to use the extension fragment in the text/html mimetype should correct this oversight.

This PR adds the text/fragment+html mimetype to the accept header rather than straight replacing it so we can migrate github.com without downtime.

@koddsson koddsson requested a review from a team January 28, 2020 13:17
Copy link
Member

@keithamus keithamus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refs github/auto-complete-element#36. Anyone looking for more context here should read github/auto-complete-element#36 (review)

@koddsson koddsson merged commit 97d4c62 into master Jan 29, 2020
@koddsson koddsson deleted the change-text-html-fragment-mimetype branch January 29, 2020 08:47
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.

3 participants