class Rack::Response::Raw
Attributes
Public Class Methods
Source
# File lib/rack/response.rb, line 307 def initialize(status, headers) @status = status @headers = headers end
Public Instance Methods
Source
# File lib/rack/response.rb, line 315 def delete_header(key); headers.delete key; end
Source
# File lib/rack/response.rb, line 313 def get_header(key); headers[key]; end
Source
# File lib/rack/response.rb, line 312 def has_header?(key); headers.key? key; end
Source
# File lib/rack/response.rb, line 314 def set_header(key, v); headers[key] = v; end