Class: Rack::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/rufus/sixjo.rb

Instance Method Summary collapse

Instance Method Details

#contentObject

not sure about this one, might vanish soon



41
42
43
# File 'lib/rufus/sixjo.rb', line 41

def content
  @env['rack.request.form_vars']
end

#etagsObject

returns an array of ETags



48
49
50
# File 'lib/rufus/sixjo.rb', line 48

def etags
  (@env['HTTP_IF_NONE_MATCH'] || '').split(/\s*,\s*/)
end