summaryrefslogtreecommitdiff
path: root/test/spec_request.rb
Commit message (Expand)AuthorAgeFilesLines
* DRY up tests using the test helperJeremy Evans2020-01-271-5/+2
* Improve `Request#host_with_port`Alexander Popov2020-01-231-0/+4
* Make Rack::Request#ssl? be true for wss schemeJeremy Evans2020-01-181-0/+4
* Document param_depth_limit in README and add specs for itJeremy Evans2020-01-151-0/+25
* Remove duplicate assertion from request spec. See #937.Samuel Williams2020-01-111-1/+0
* Allow global expectation explicitly for minitest.Nikolay Rys2019-10-061-1/+1
* return boolean in trusted_proxy?pavel2019-07-231-20/+20
* Whitelist http/https schemesPatrick Tulskie2018-11-051-0/+5
* Add method for custom ip_filter and test to go with itSaundra Castaneda2018-08-211-0/+8
* RuboCop: enable Layout/Space* cops (#1259)yhirano552018-04-171-10/+10
* Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b } (#1253)yhirano552018-04-161-3/+3
* Handles X-Forwarded-For with optional portDaniel J. Pritchett2018-04-141-0/+14
* Merge pull request #1224 from SamSaffron/masterAaron Patterson2018-04-141-1/+10
|\
| * Preserve forwarded IP address for trusted proxy chainsSam2018-01-051-1/+10
* | Add frozen_string_literal: true to remaining filesDillon Welch2018-04-131-0/+2
* | Updates for frozen string literal compatibility.Pat Allan2017-06-211-1/+1
|/
* To support minitest 6 and prevent error ouput in minitest 5, use `must_be_nil...Jian Weihang2016-12-051-12/+12
* Move empty hash to it's own method for sessioneileencodes2016-01-161-0/+5
* add Rack::Request#authorityAaron Patterson2015-10-081-0/+15
* `Response#add_header` to add to a value to a multivalued headerJeremy Daer2015-10-031-13/+26
* pull env access in the request object to a moduleAaron Patterson2015-09-041-144/+185
* Move most methods on the `Rack::Request` to a moduleAaron Patterson2015-09-041-1/+1
* Close temp files when raising an exceptionAaron Patterson2015-08-271-0/+26
* add Request#initialize_copyAaron Patterson2015-08-211-0/+5
* add methods for accessing request specific dataAaron Patterson2015-08-201-0/+46
* require file so that the constant is availableAaron Patterson2015-08-061-0/+1
* Strip trailing whitespaceTeo Ljungberg2015-06-241-1/+1
* Merge branch 'master' into zenspider-minitest.phase.2Aaron Patterson2015-06-161-30/+5
|\
| * Merge branch 'master-sec'Aaron Patterson2015-06-161-2/+2
| |\
| | * raise an exception if the parameters are too deepAaron Patterson2015-06-111-2/+2
| * | Cleanup older code than Ruby 2.0+ onedeepj2015-06-141-36/+10
* | | First attempt to mass-port from minitest/bacon to minitest/spec.Ryan Davis2015-06-121-425/+423
|/ /
* | Added minitest/bacon to the top of each file so they can be run straight up.Ryan Davis2015-06-111-0/+1
* | Use == to compare form_input to rack.inputSantiago Pastorino & Alexis Mas2015-06-101-22/+0
|/
* consolidate where to find the default_query_parser make keyspace requiredAaron Patterson2015-06-091-2/+2
* remove hash and optional paramsAaron Patterson2015-06-091-2/+2
* Allow specifying a params hash class to use when parsingJeremy Evans2015-05-291-0/+48
* Accept empty multipart POST requestsLuca Guidi2015-05-261-0/+14
* Merge pull request #840 from davydovanton/fix-test-typosSantiago Pastorino2015-04-161-1/+1
|\
| * Fix typos in test files [skip ci]Anton Davydov2015-04-151-1/+1
* | Fix semicolons as separators for GET北䑓如法2015-01-071-6/+17
|/
* MultipartLimitError => MultipartPartLimitErrorSantiago Pastorino2014-11-261-2/+2
* Explicitly fail when hitting the multipart limitJean Boussier2014-11-261-0/+17
* Revert "Merge branch 'pr/686'"Aaron Patterson2014-08-041-10/+0
* Merge pull request #669 from alindeman/multiple_x_http_forwarded_protoJames Tucker2014-08-031-0/+3
|\
| * request.scheme supports multiple x-http-forwarded-proto valuesAndy Lindeman2014-03-241-0/+3
* | Merge branch 'master' into pr/686James Tucker2014-08-031-9/+69
|\ \
| * | correct weird case regression from #714James Tucker2014-07-181-1/+2
| * | Merge pull request #714 from rafaelfranca/rm-fix-media-type-paramsAaron Patterson2014-07-181-1/+3
| |\ \
| | * | Fix media_type_params when Content-Type parameters contains quoted-stringsRafael Mendonça França2014-07-181-1/+3