don't skip processing when response's status code isn't 200 #37

Merged
theo-bittencourt merged 1 commits from dont-skip-processing-when-code-isnt-200 into master 2013-05-13 18:56:11 +00:00
Showing only changes of commit d665d6e3f0 - Show all commits

View File

@ -36,7 +36,7 @@ module Rack
end end
def html? def html?
@headers['Content-Type'] =~ %r{text/html} and @status == 200 @headers['Content-Type'] =~ %r{text/html}
end end
end end
end end