Skip to content

wrap-index serves a file instead of slurping it#60

Open
scizo wants to merge 1 commit intopandeiro:masterfrom
scizo:master
Open

wrap-index serves a file instead of slurping it#60
scizo wants to merge 1 commit intopandeiro:masterfrom
scizo:master

Conversation

@scizo
Copy link

@scizo scizo commented Jan 19, 2017

This preserves the encoding in the Content-Type header.

With slurp, it seems that jetty is appending charset=ISO-8859-1 to the Content-Type header.
If io/file is used, then it correctly recognizes the contents as utf-8.

This preserves the encoding in the Content-Type header.
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