Skip to content

Use utf-8 charset for html and other text responses.#249

Merged
frank-weinberg merged 1 commit intodevfrom
utf8-response
May 2, 2019
Merged

Use utf-8 charset for html and other text responses.#249
frank-weinberg merged 1 commit intodevfrom
utf8-response

Conversation

@brian-brazil
Copy link
Copy Markdown
Contributor

The version of jetty we're using really doesn't
make setting this correctly easy. Hack in the charset in
the mime entries, overriding what Jetty has by default.

The version of jetty we're using really doesn't
make setting this correctly easy. Hack in the charset in
the mime entries, overriding what Jetty has by default.
xbm = image/x-xbitmap
xht = application/xhtml+xml
xhtml = application/xhtml+xml
xls = application/vnd.ms-excel
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't we be including .xlsx here as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is only a copy of what upstream has, and I doubt we'll be serving static xlsx files.

@frank-weinberg frank-weinberg merged commit b867a40 into dev May 2, 2019
@brian-brazil brian-brazil deleted the utf8-response branch May 2, 2019 21:35
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.

2 participants