lib/rack/auth/abstract/request.rb in rack-1.4.7 vs lib/rack/auth/abstract/request.rb in rack-1.5.0.beta.1

- old
+ new

@@ -19,14 +19,10 @@ def parts @parts ||= @env[authorization_key].split(' ', 2) end def scheme - @scheme ||= - begin - s = parts.first.downcase - Rack::Auth.schemes.include?(s) ? s.to_sym : s - end + @scheme ||= parts.first.downcase.to_sym end def params @params ||= parts.last end