Merge pull request #37 from theo-bittencourt/dont-skip-processing-when-code-isnt-200

don't skip processing when response's status code isn't 200
This commit is contained in:
John Bintz 2013-05-13 11:56:11 -07:00
commit 25a5d217f5

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