diff options
Diffstat (limited to 'actionpack/lib/action_controller/vendor/rack-0.4.0/rack/auth/digest/request.rb')
-rw-r--r-- | actionpack/lib/action_controller/vendor/rack-0.4.0/rack/auth/digest/request.rb | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/actionpack/lib/action_controller/vendor/rack-0.4.0/rack/auth/digest/request.rb b/actionpack/lib/action_controller/vendor/rack-0.4.0/rack/auth/digest/request.rb deleted file mode 100644 index a0227543fb..0000000000 --- a/actionpack/lib/action_controller/vendor/rack-0.4.0/rack/auth/digest/request.rb +++ /dev/null @@ -1,40 +0,0 @@ -require 'rack/auth/abstract/request' -require 'rack/auth/digest/params' -require 'rack/auth/digest/nonce' - -module Rack - module Auth - module Digest - class Request < Auth::AbstractRequest - - def method - @env['REQUEST_METHOD'] - end - - def digest? - :digest == scheme - end - - def correct_uri? - @env['PATH_INFO'] == uri - end - - def nonce - @nonce ||= Nonce.parse(params['nonce']) - end - - def params - @params ||= Params.parse(parts.last) - end - - def method_missing(sym) - if params.has_key? key = sym.to_s - return params[key] - end - super - end - - end - end - end -end |