Class: Rack::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/conneg.rb

Instance Method Summary collapse

Instance Method Details

#negotiated?Boolean

Returns:

  • (Boolean)


176
# File 'lib/rack/conneg.rb', line 176

def negotiated?     ; not @env['rack.conneg.type'].nil? ; end

#negotiated_extObject



175
# File 'lib/rack/conneg.rb', line 175

def negotiated_ext  ; @env['rack.conneg.ext']           ; end

#negotiated_typeObject



177
# File 'lib/rack/conneg.rb', line 177

def negotiated_type ; @env['rack.conneg.type']          ; end