-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sirv): append
charset=utf-8
to HTML content-type (#122)
* fix: append charset=utf-8 to text/html Closes #106 I considered fixing this upstream in "mime" or "mime-db" packages, but then I came across these issues, which indicated that it was not a viable path. broofa/mime#174 jshttp/mime-db#94 * test: check for charset=utf-8 in .html requests * fix(test): prevent undefined `full` access * chore: add `charset=utf-8` to test expectants * chore: light code style/spacing Co-authored-by: Luke Edwards <luke.edwards05@gmail.com>
- Loading branch information
1 parent
881c4c7
commit d1b8ba6
Showing
3 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters