lib/rack/show_exceptions.rb in rack-2.0.5 vs lib/rack/show_exceptions.rb in rack-2.0.6

- old
+ new

@@ -44,10 +44,10 @@ [body], ] end def prefers_plaintext?(env) - !accepts_html(env) + !accepts_html?(env) end def accepts_html?(env) Rack::Utils.best_q_match(env["HTTP_ACCEPT"], %w[text/html]) end