summaryrefslogtreecommitdiff
path: root/test/spec_request.rb
Commit message (Expand)AuthorAgeFilesLines
* Most compatible implementation + documentation.rack-request-headersSamuel Williams2022-04-281-4/+4
* Fix headers that look like CGI variables.Samuel Williams2022-04-281-0/+5
* `Rack::Request#*_headers` methods should be for HTTP headers.Samuel Williams2022-04-271-7/+19
* Remove `Rack::Multipart` dependency on `Rack::Request`. (#1872)Samuel Williams2022-04-271-3/+6
* Tidy up documentation and specs in relation to lower case headers. (#1855)Samuel Williams2022-04-111-17/+17
* Allow configuring priorities for Forwarded and X-Forwarded-*Jeremy Evans2022-04-041-6/+183
* Support RFC 7239: HTTP Forwarded headerfatkodima2022-04-041-1/+55
* Use custom exception on params too deep error.Josef Šimánek2022-04-031-2/+2
* Tighten authority matchingJeremy Evans2022-03-211-0/+75
* Change SPEC to not allow uppercase header keysJeremy Evans2022-02-181-1/+1
* Remove rewindable rack.input from SPECJeremy Evans2022-02-131-11/+0
* Enable directly requiring Rack componentsJeremy Evans2022-02-031-0/+6
* Avoid use of regexps for parsing parameter keysJeremy Evans2022-01-261-0/+16
* Cache Rack::Request#POST result if input content type is not parseable (Fixes...Jeremy Evans2022-01-251-1/+3
* Deprecate key_space_limitJonathan Rochkind2022-01-251-42/+2
* Update trusted_proxy? to match on 127.0.0.0/8 (#1781)Steven Bloch2021-11-291-0/+17
* Allow ws and wss as forwarded scheme/proto headersErwan Thomas2021-04-151-0/+16
* Default to & as separator instead of either & or ;Jeremy Evans2021-01-211-3/+3
* Fix RuboCop offensesUtkarsh Gupta2020-09-051-2/+2
* Decrease default allowed parameter recursion level from 100 to 32Jeremy Evans2020-07-191-3/+3
* Make Rack::Request#{[],[]=} warn even in non-verbose modeJeremy Evans2020-07-141-16/+28
* Remove parsing restrictions around host and hostnamePieter van de Bruggen2020-02-161-0/+30
* Remove trailing whitespace.Samuel Williams2020-02-111-1/+1
* Ensure full match. Fixes #1590.Samuel Williams2020-02-111-0/+5
* Rework `Request#ip` to handle empty `forwarded_for`.Samuel Williams2020-02-091-0/+6
* Remove SERVER_ADDR.Samuel Williams2020-02-081-6/+0
* Improve `Rack::Request#authority` and related methods.Samuel Williams2020-02-081-2/+2
* Add specs to better match implementation of `URI.host` and `URI.hostname`.Samuel Williams2020-02-081-4/+10
* Make Request#params not rescue EOFErrorJeremy Evans2020-02-061-10/+0
* Fix `Response` methods (`host`, `port`, etc.) for IPv6Alexander Popov2020-01-301-0/+24
* Attempt to satisfy rubocopJeremy Evans2020-01-301-1/+1
* More covering testsJeremy Evans2020-01-301-0/+39
* 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