Permalink
Browse files

added charset on 404 header

  • Loading branch information...
mvrilo committed Nov 20, 2010
1 parent 7cfc2b2 commit 68ce0a5700c21a8d17f5f928fcbe46bf34aebfbb
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/frank.js
View
@@ -42,7 +42,7 @@ var core = {
if (core.list[i].route.toLowerCase() === 'not found' || core.list[i].route.toLowerCase() === 'not found') {
if (typeof core.list[i].end !== 'function') {
res.writeHead(404, {
- 'Content-Type':core.list[i].dataType,
+ 'Content-Type':core.list[i].dataType + '; charset=UTF-8',
Server:'Node.js Frank',
'Date':+new Date().toUTCString(),
'Content-Length':core.list[i].end.length

0 comments on commit 68ce0a5

Please sign in to comment.