summary refs log tree commit
path: root/lib/rack/mock.rb
DateCommit message (Expand)
2014-10-02Less allocated objects on each request
2014-07-13Fix URI parsing on 1.8.7, also address perf
2014-07-08use RFC 2396 URI parser in the mock object
2013-10-21Add OPTIONS support to File and MockRequest.
2012-02-22Add #patch to MockRequest
2011-12-17Support #head in rack::mockrequest
2011-08-15Add 205 Reset Content to the list of statuses without a message body
2011-06-14Have MockRequest call close on the body rather than MockResponse.
2011-06-09call #close on body in mock responses
2011-01-13refactor Rack::MockResponse to be a subclass of Rack::Response, also make sur...
2011-01-13moving MockResponse underneath Rack::Response
2010-12-31Make mock response work like response with respect to headers
2010-12-10Properly handle nil header values in Rack::MockResponse#initialize.
2010-04-07Require 'rack' from mock.rb since it references Rack::VERSION
2010-03-23Update Rack::Mock to use Rack::VERSION too
2009-12-26Bump version and release to 1.1
2009-08-05Revert "Add common HTTP strings to Rack::Const"
2009-08-03Add common HTTP strings to Rack::Const
2009-08-03rack.input should be ASCII-8BIT even if it's StringIO (for test)
2009-06-30Set correct external_encoding for handlers that don't use RewindableInput
2009-05-02Only try to get the rack.errors.string if possible so we don't violate the spec
2009-04-28Utils::Multipart.build_multipart returns nil if no UploadedFiles are included
2009-04-25MockRequest should accept hash params
2009-04-25MockRequest should properly convert method name to an uppercase string
2009-04-25MockRequest should prepend slash to uri path
2009-04-25Ensure SSL port and HTTP flag are on when using https
2009-04-25fix rack.version in MockRequest
2009-02-06Normalize Array header values to Strings in HeaderHash#to_hash
2009-01-21Content Length needs to be a string
2009-01-21set CONTENT_LENGTH header in Rack::MockRequest.env_for so :input POST variabl...
2008-03-17Don't lose empty headers in HeaderHash
2007-05-16Fix trailing whitespace. Sigh.
2007-05-11Introduce Rack::Response::Helpers and make MockResponse use them, too.
2007-05-11Add some more edge-case tests to improve coverage
2007-03-01Add RDocs
2007-02-28MockRequest can now only create the Rack environment
2007-02-28Add a default SCRIPT_NAME
2007-02-28Add support for mocking all request methods
2007-02-28Add MockRequest/MockResponse for easier testing