lib/noie6.rb in rack-noie6-1.1.0 vs lib/noie6.rb in rack-noie6-1.1.1
- old
+ new
@@ -26,9 +26,9 @@
def ie_version(ua_string)
ua_string.match(/MSIE (\S+)/)[1].to_f
end
def kick_it
- [301, {'Location' => @options[:redirect]}, 'Fail browser is fail']
+ [301, {'Location' => @options[:redirect], 'Content-Type' => 'text/html'}, 'Fail browser is fail']
end
end
end
\ No newline at end of file