Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 13, 2014
  1. Jason Staten Filipe Giusti

    Use equal? to compare form_input to rack.input

    statianzo authored filipegiusti committed
    Using equal? provides consistent results of equality between 1.8, 1.9,
    and 2.0 when comparing Tempfile objects.
    In 1.8, == will change the position of the Tempfile.
    In 1.9+, == compares Tempfiles correctly.
    In 1.8, eql? compares Tempfiles correctly
    In 1.9+, t.eql?(t) always returns false
Commits on Jul 9, 2014
  1. Michael Fellinger Benjamin Fleischer

    correct Request#port for lighttpd2 proxy case

    manveru authored bf4 committed
Commits on Feb 8, 2013
  1. James Tucker

    Request#trusted_proxy? no longer accepts lines

    raggi authored
     * Closes #508
     * Adds some limited coverage. More issues highlighted - incomplete local ips.
Commits on Jan 11, 2013
  1. James Tucker

    Enable unix sockets with paths as trusted proxies

    raggi authored
     * Supersedes and closes #488
Commits on Dec 29, 2012
  1. James Tucker
Commits on Dec 12, 2012
  1. Konstantin Haase

    better support for coffee protocol

    rkh authored
  2. Konstantin Haase

    whitespace removal

    rkh authored
Commits on May 2, 2012
  1. Seamus Abshere
Commits on May 1, 2012
  1. Seamus Abshere
Commits on Mar 2, 2012
  1. Bart ten Brinke
Commits on Jan 10, 2012
  1. Improving a method name

    Rodrigo Flores authored
  2. Refactoring ip method

    Rodrigo Flores authored
Commits on Jan 7, 2012
  1. James Tucker

    Merge pull request #296 from jm3/patch-2

    raggi authored
    ...except after c.
Commits on Dec 29, 2011
  1. John Manoogian III

    ...except after c.

    jm3 authored
Commits on Dec 27, 2011
  1. James Tucker

    Add support for HTTP_X_FORWARDED_SCHEME. From pull request 292, reimp…

    raggi authored
    …lemented due to lack of tests. Closes #292.
Commits on Dec 17, 2011
  1. James Tucker
Commits on Oct 1, 2011
  1. Konstantin Haase

    also trust localhost

    rkh authored
  2. Martin Ottenwaelter Konstantin Haase

    moved the trusted_proxy regex into a separate method to allow overrid…

    martoche authored rkh committed
    …ing, added ipv6 loopback and private address ranges to the default regex
    Signed-off-by: Konstantin Haase <>
  3. Martin Ottenwaelter Konstantin Haase

    support for trusted proxies and IPv6 for Request#ip

    martoche authored rkh committed
    Signed-off-by: Konstantin Haase <>
Commits on Sep 16, 2011
  1. James Tucker

    Merge pull request #231 from lawrencepit/cookies

    raggi authored
    Request should return cookies, also when initially not set.
Commits on Sep 13, 2011
  1. Iain Barnett
Commits on Sep 7, 2011
  1. Lawrence Pit
  2. James Tucker

    Merge pull request #224 from kou/parse-accept-encoding-loosely

    raggi authored
    parse Accept-Encoding header loosely.
Commits on Sep 1, 2011
  1. Konstantin Haase

    make tests pass on 1.8 again

    rkh authored
Commits on Aug 23, 2011
  1. Konstantin Haase
  2. Konstantin Haase

    refactor Request#cookies, fixes #225

    rkh authored
Commits on Aug 21, 2011
  1. Kouhei Sutou

    parse Accept-Encoding header loosely.

    kou authored
    After this commit, Rack::Request#accept_encoding doesn't
    raise an exception for invalid Accept-Encoding value.
    If Rack::Request#accept_encoding may raise an exception,
    Rack::Middleware::Deflater may also raise an exception.
    Because Rack::Middleware::Deflater dosn't rescue an
    exception from Rack::Request#accept_encoding.
    On the exception case, it seems that either returning "400
    Bad Request" or just ignoring invalid value is better
    behavior. This patch uses the latter solution.
Commits on May 3, 2011
  1. Florian Gilcher James Tucker

    Keep #params from merging POST into GET

    skade authored raggi committed
    Signed-off-by: raggi <>
  2. James Tucker
  3. James Tucker
Commits on Mar 18, 2011
  1. Konstantin Haase

    add Rack::Request#patch?

    rkh authored
Commits on Jan 23, 2011
  1. Jon Leighton Joshua Peek

    If there is an X-Forwarded-Host header, we should take the absence of…

    jonleighton authored josh committed
    … a port segment to imply 'standard port', not 'use the SERVER_PORT'
Commits on Jan 13, 2011
  1. Aaron Patterson Joshua Peek

    fixing unused variable warnings in 1.9.3

    tenderlove authored josh committed
Commits on Jan 4, 2011
  1. Joshua Peek

    Extract Request#base_url

    josh authored
Commits on Dec 9, 2010
  1. Rich Meyers Joshua Peek

    Treat an empty content type as nil content type (issue #40)

    richmeyers authored josh committed
Something went wrong with that request. Please try again.