Rack::Response
# File lib/innate/response.rb, line 10 def self.mime_type options[:headers]['Content-Type'] || 'text/html' end
# File lib/innate/response.rb, line 22 def finish options.headers.each{|key, value| self[key] ||= value } Current.session.flush(self) super end
# File lib/innate/response.rb, line 14 def reset self.status = 200 self.header.delete('Content-Type') body.clear self.length = 0 self end
[Validate]
Generated with the Darkfish Rdoc Generator 2.