class Rack::Response::Raw
Attributes
Public Class Methods
Source
# File lib/rack/response.rb, line 381 def initialize(status, headers) @status = status @headers = headers end
Public Instance Methods
Source
# File lib/rack/response.rb, line 398 def delete_header(key) headers.delete(key) end
Source
# File lib/rack/response.rb, line 386 def has_header?(key) headers.key?(key) end
Source
# File lib/rack/response.rb, line 394 def set_header(key, value) headers[key] = value end