Fixed some issue with last unicorn
This commit is contained in:
parent
892be66a95
commit
894795fa35
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,9 @@ module ::Rack
|
|||
@next += 1
|
||||
end
|
||||
tmp=(404 == resp[0] ? @app.call : resp)
|
||||
if not tmp[1].nil? and not tmp[1]["Content-Type"].nil? then
|
||||
tmp[1]["Content-Type"]=tmp[1]["Content-Type"] + "; charset=utf-8"
|
||||
end
|
||||
return tmp
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue