You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the Jekyll development server running, if you request a URL that does not exist, the server responds with the rendered contents of 404.html (correct), but with the wrong encoding specified in the Content-Type header:
$ wget http://localhost:4000/bad-url.html --content-on-error -S
--2014-05-03 16:32:24-- http://localhost:4000/bad-url.html
Resolving localhost... ::1, 127.0.0.1, fe80::1
Connecting to localhost|::1|:4000... failed: Connection refused.
Connecting to localhost|127.0.0.1|:4000... connected.
HTTP request sent, awaiting response...
HTTP/1.1 404 Not Found
Content-Type: text/html; charset=ISO-8859-1
Server: WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
Date: Sat, 03 May 2014 06:32:24 GMT
Content-Length: 6727
Connection: close
Saving to: 'bad-url.html'
100%[================================================================================================================================================>] 6,727 --.-K/s in 0s
Note the Content-Type header says charset=ISO-8859-1 even though I am running Jekyll 2.0.0rc1, which is supposed to default to UTF-8 (and does so for all other pages).
The text was updated successfully, but these errors were encountered:
With the Jekyll development server running, if you request a URL that does not exist, the server responds with the rendered contents of 404.html (correct), but with the wrong encoding specified in the
Content-Type
header:Note the
Content-Type
header sayscharset=ISO-8859-1
even though I am running Jekyll 2.0.0rc1, which is supposed to default to UTF-8 (and does so for all other pages).The text was updated successfully, but these errors were encountered: