Class: Rack::Request
- Inherits:
-
Object
- Object
- Rack::Request
- Defined in:
- lib/rack/conneg.rb
Instance Method Summary collapse
Instance Method Details
#negotiated? ⇒ Boolean
176 |
# File 'lib/rack/conneg.rb', line 176 def negotiated? ; not @env['rack.conneg.type'].nil? ; end |
#negotiated_ext ⇒ Object
175 |
# File 'lib/rack/conneg.rb', line 175 def negotiated_ext ; @env['rack.conneg.ext'] ; end |
#negotiated_type ⇒ Object
177 |
# File 'lib/rack/conneg.rb', line 177 def negotiated_type ; @env['rack.conneg.type'] ; end |