Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 7, 2011
  1. Konstantin Haase

    make tests pass on 1.8 again

    rkh authored
  2. Konstantin Haase
  3. Konstantin Haase

    refactor Request#cookies, fixes #225

    rkh authored
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
  2. Stephen Celis Joshua Peek

    Rack::Request support for HTTP_X_FORWARDED_{PORT,SSL}

    stephencelis authored josh committed
Commits on Nov 2, 2010
  1. Martin Ottenwaelter Joshua Peek

    HTTP_X_FORWARDED_PROTO can be a list of chained values, eg 'https, ht…

    martoche authored josh committed
    …tp, http'
Commits on Oct 26, 2010
  1. Joshua Peek
Commits on Oct 10, 2010
  1. José Valim James Tucker

    ssl? should also return true if rack.url_scheme is https.

    josevalim authored raggi committed
    Signed-off-by: raggi <>
Commits on Oct 3, 2010
  1. James Tucker

    186 bro :'(

    raggi authored
  2. Santiago Pastorino James Tucker

    PERF: change inject({}) to Hash + map

    spastorino authored raggi committed
    Signed-off-by: raggi <>
  3. José Valim James Tucker

    Improves performance by lazy loading the session.

    josevalim authored raggi committed
    The session has two flags, one for reading and another for writing. If the session is just read, we get it from the store but do not send a cookie a back to the client unless it was written.
    This commit also adds Rack::Request#ssl? for convenience.
    Signed-off-by: raggi <>
  4. Greg Hazel James Tucker

    do not default referer to '/'

    ghazel authored raggi committed
    Signed-off-by: raggi <>
Commits on Jun 30, 2010
  1. Brasten Sager Michael Fellinger

    Modified Rack::Request#port to respect HTTP_X_FORWARDED_HOST port inf…

    brasten authored manveru committed
    …ormation if available
Commits on Jun 11, 2010
  1. Michael Fellinger
Commits on Jun 9, 2010
  1. Michael Fellinger
Commits on Jun 8, 2010
  1. Michael Fellinger
Commits on Dec 22, 2009
  1. Ryan Tomayko

    Use Content-Type to determine POST params parsing [#20]

    rtomayko authored
    Reverts the hard test for a 'PUT' request method (8d01dc0) and
    uses the Content-Type to determine whether to read into the
    request body. The Request#POST method parses the request body
    if (and only if) either of the following conditions are met:
    1. The request's Content-Type is application/x-www-form-urlencoded
       or multipart/form-data. Note: the REQUEST_METHOD is ignored in
       this case.
    2. The original REQUEST_METHOD is 'POST' and no Content-Type header
       was specified in the request. Note that we use the REQUEST_METHOD
       value before any modifications by the MethodOverride middleware.
    This is very similar to how this worked prior to 8d01dc0 but
    narrows the 'no Content-Type' special case to apply only to
    POST requests. A PUT request with no Content-Type header would
    trigger parsing before - with this change only POST requests
    with no Content-Type trigger parsing.
Commits on Dec 21, 2009
  1. Joshua Peek

    Extract parse_query and parse_multipart in Request so subclasses

    josh authored
    can change their behavior [#71 state:resolved]
  2. Joshua Peek
  3. Joshua Peek


    josh authored
Commits on Dec 11, 2009
  1. Joshua Peek

    rack.logger specification

    josh authored
Commits on Aug 5, 2009
  1. Joshua Peek

    Revert "Add common HTTP strings to Rack::Const"

    josh authored
    This reverts commit 6ae0a10.
Commits on Aug 3, 2009
  1. Joshua Peek
  2. Joshua Peek
Commits on May 15, 2009
  1. Jeremy Kemper Joshua Peek

    Rack::Request#POST raises if rack.input is missing instead of returni…

    jeremy authored josh committed
    …ng the uninitialized rack.request.form_hash
    Signed-off-by: Joshua Peek <>
Commits on May 11, 2009
  1. Joshua Peek

    Kill request instance memoization

    josh authored
Commits on Apr 19, 2009
  1. Joshua Peek
  2. Joshua Peek

    Add 'rack.session' specification

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