summaryrefslogtreecommitdiff
path: root/test/spec_response.rb
Commit message (Expand)AuthorAgeFilesLines
* Handle string reuse by body.each when buffering bodies in Rack::Response (#2044)Jeremy Evans2023-03-241-0/+20
* Prefer lowercase "samesite" property name for cookies. (#2008)Samuel Williams2023-01-131-25/+25
* Allow passing through streaming bodies. (#1993)Samuel Williams2022-12-051-0/+10
* Trim trailing white space throughout the project (#1990)Jon Dufresne2022-12-031-2/+2
* Remove deprecated code. (#1966)Samuel Williams2022-09-101-4/+0
* Add 100% line/branch coverage to rack/response.rbJeremy Evans2022-05-071-1/+75
* Add methods for HTTP status codes 406 and 408 (#1882)Jason Garber2022-04-281-0/+10
* Tidy up documentation and specs in relation to lower case headers. (#1855)Samuel Williams2022-04-111-90/+87
* Use lower case normalisation for cookie attributes. (#1849)Samuel Williams2022-04-061-2/+2
* Don't bother pattern matching existing set-cookie for deletion. (#1844)Samuel Williams2022-04-061-54/+46
* Fix verbose warnings in specsJeremy Evans2022-03-031-6/+6
* Allow header value to be an Array of String instances. (#1793)Samuel Williams2022-03-021-25/+29
* Change SPEC to not allow uppercase header keysJeremy Evans2022-02-181-11/+11
* Enable directly requiring Rack componentsJeremy Evans2022-02-031-0/+4
* Convenient cache and content type methods for `Rack::Response`.Samuel Williams2020-02-051-0/+33
* Memoize header hash usage. Fixes #738.Samuel Williams2020-02-051-6/+6
* Add remaining covering testsJeremy Evans2020-01-301-4/+6
* Fix Response#write calculation of Content-Length if initialized with a bodyJeremy Evans2020-01-291-5/+32
* DRY up tests using the test helperJeremy Evans2020-01-271-4/+1
* Do more exact matching of domain and path when deleting cookiesJeremy Evans2020-01-231-0/+77
* Enable `Layout/TrailingWhitespace` cop to prevent extra trailing space in futureRyuta Kamizono2020-01-221-1/+1
* Add new `Response.[]` and `MockResponse.[]` which are very similar. Fixes #1094.Samuel Williams2020-01-141-0/+11
* Restore part of status=205 spec.rack-response-bufferedSamuel Williams2020-01-071-0/+9
* Lazily initialize the response body and only buffer it if required.Samuel Williams2020-01-071-9/+25
* Improve spec compatibility with current master.to_ary-flattenSamuel Williams2020-01-071-2/+2
* Improve spec name and be explicit about result.Samuel Williams2020-01-071-3/+4
* Remove `to_ary` from Responserm_to_ary_from_responseAaron Patterson2020-01-061-2/+2
* Allow global expectation explicitly for minitest.Nikolay Rys2019-10-061-1/+1
* Added support for SameSite=None cookie value, added in revision 3 of rfc6265bisHenning Kulander2019-05-091-0/+18
* Merge pull request #1325 from jodosha/performance/remove-useless-header-mergeAaron Patterson2019-04-021-0/+10
|\
| * Don't mutate given headersLuca Guidi2019-01-041-0/+10
* | Introduce Rack::SimpleBodyProxyLuca Guidi2018-12-191-2/+2
|/
* RuboCop: enable Layout/Space* cops (#1259)yhirano552018-04-171-21/+21
* Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b } (#1253)yhirano552018-04-161-24/+24
* Add frozen_string_literal: true to remaining filesDillon Welch2018-04-131-0/+2
* Updates for frozen string literal compatibility.Pat Allan2017-06-211-5/+5
* Use .httpdate for expires date formattingnanaya2017-02-191-5/+5
* Revert "Add 205 Reset Content to the list of statuses without a message body"Eric Wong2016-12-141-2/+2
* To support minitest 6 and prevent error ouput in minitest 5, use `must_be_nil...Jian Weihang2016-12-051-3/+3
* Validate the SameSite cookie optionBob Long2016-04-171-4/+42
* first-party cookies are now same-site cookiesBen Toews2016-03-151-5/+17
* First-Party cookies, another line of CSRF defenseJeremy Daer2015-12-041-0/+14
* * Add `Rack::Response::Helpers#cache_control` and `cache_control=`.Aaron Patterson2015-10-061-0/+9
* * Add `Rack::Response::Helpers#etag` and `etag=`. Use this forAaron Patterson2015-10-061-0/+7
* `Response#add_header` to add to a value to a multivalued headerJeremy Daer2015-10-031-0/+68
* Rack::Response::Helpers#redirect? would accept 308 status codedeepj2015-08-291-3/+12
* Remove any reference to 418 status codedeepj2015-08-291-5/+0
* First attempt to mass-port from minitest/bacon to minitest/spec.Ryan Davis2015-06-121-105/+105
* Added minitest/bacon to the top of each file so they can be run straight up.Ryan Davis2015-06-111-0/+1
* Make all tests run and pass independently.Ryan Davis2015-06-111-0/+1