summary refs log tree commit
path: root/lib/rack/response.rb
DateCommit message (Expand)
2014-10-02Less allocated objects on each request
2014-03-07Add helper method for 418
2014-01-26Add created? and accepted? response helper methods
2013-12-28Add missing require to response.rb
2013-06-28Add Response#unauthorized? helper
2012-12-29Correct some of the mime type issues. References #316 and #366.
2012-12-28Rack::Response now conforms to body.close SPEC
2012-11-02Prevent infinite recursions from Response#to_ary
2012-01-22added Rack::Response::Helpers#method_not_allowed?
2012-01-17fix typo
2011-10-24Adds #unprocessable? helper
2011-10-24Adds #bad_request? helper
2011-08-15Add 205 Reset Content to the list of statuses without a message body
2011-08-03In Response, use status method instead of @status in the helpers.
2011-07-18Don't create block proc unless neccessary
2011-06-10Revert "body is always an array, no point in trying to call close"
2011-06-09body is always an array, no point in trying to call close
2011-05-02Closes #21 Rack::Response#finish should delete Content-Length if status==204 ...
2011-01-13refactor Rack::MockResponse to be a subclass of Rack::Response, also make sur...
2011-01-13moving MockResponse underneath Rack::Response
2010-10-28Fix initializing Response objects with differently-cased Content-Type headers
2010-09-02Alias Response#to_ary to #finish for implicit-splat in Ruby 1.9.2.
2010-06-12require time in response because it's used for cookies
2009-12-10avoid HeaderHash#to_hash in middlewares
2009-12-02Response should call #to_i on the status, as per the spec.
2009-08-05Revert "Add common HTTP strings to Rack::Const"
2009-08-03Add common HTTP strings to Rack::Const
2009-08-03Don't buffer response bodies in session store by creating an unnecessary resp...
2009-04-14Rack::Request#write: count length with bytesize
2009-03-25Add Rack::Response#redirect
2009-02-22Add Response#length and Response#length=
2009-01-15Addition of HttpOnly cookie support to Rack::Response
2009-01-09Update Content-Length in Response#write, not in #finish. Spec.
2008-09-10Add :secure option for set_cookie
2008-08-28Make Rack::Response count Content-Length
2008-02-18Don't create invalid header lines when only deleting a cookie
2008-02-03HTTP status 201 can contain a body
2007-10-09Fix Cookie dates accordingly to RFC 2109
2007-05-31Make Rack::Response possibly close the body
2007-05-16Fix trailing whitespace. Sigh.
2007-05-11Introduce Rack::Response::Helpers and make MockResponse use them, too.
2007-04-18Add Rack::Response#empty?
2007-03-24Doc fix, Request should have been Reponse
2007-03-11Ducktype on #to_str for Rack::Response.new
2007-03-11Make Rack::Response#write call #to_s
2007-03-01Add RDocs
2007-02-25Make Rack::Response#write return the written string to catch errors with nest...
2007-02-25Ensure the Response body is writable
2007-02-25Improve the Rack::Response constructor
2007-02-18Make Response#status and #body settable