Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 9, 2010
  1. use is_a?(IO) instance of instance_of?(String)

    Janne Hietamaki authored
Commits on Dec 2, 2010
Commits on Nov 2, 2010
  1. @martoche @josh

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

    martoche authored josh committed
    …tp, http'
Commits on Oct 28, 2010
  1. @sstephenson @josh

    Fix initializing Response objects with differently-cased Content-Type…

    sstephenson authored josh committed
    … headers
Commits on Oct 26, 2010
  1. @josh
Commits on Oct 10, 2010
  1. @josevalim @raggi

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

    josevalim authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  2. @raggi

    showexceptions: gracefully handle empty backtraces

    raggi authored
    Some HTTP servers (e.g. Unicorn and Rainbows!) raise certain
    exceptions without a backtrace[1], so avoid triggering our own
    NoMethodError exception because of this.
    
    [1] - http://git.bogomips.org/cgit/unicorn.git/commit/?id=e4256da292f9626d7dfca60e08f65651a0a9139a
    
    Conflicts:
    
    	test/spec_showexceptions.rb
    
    Signed-off-by: raggi <jftucker@gmail.com>
Commits on Oct 5, 2010
  1. @raggi
  2. @raggi
  3. @raggi

    release semantics of Rack::Chunked and Rack::ContentLength from handl…

    raggi authored
    …ers. this should not be forced on users.
Commits on Oct 4, 2010
  1. @raggi
  2. @raggi
  3. @raggi

    minor style changes for merge

    raggi authored
  4. @snej @raggi

    Byte-range support for File class.

    snej authored raggi committed
    Allows Rack to support byte-range requests (via
    the HTTP 1.1 "Range:" header) for static files,
    even when sendfile is not being used.
    
    Conforms to RFC 2616 sec. 14.35 _except_ that
    multiple byte-ranges are not supported yet.
    (They're parsed correctly, but the response body
    would need to be a MIME multipart.)
    
    Tested in Ruby 1.8.7 on Mac OS X 10.6.4.
    
    Signed-off-by: raggi <jftucker@gmail.com>
Commits on Oct 3, 2010
  1. @josevalim @raggi

    Move sid initialization to another method so it can be overwritten by…

    josevalim authored raggi committed
    … other frameworks.
    
    Signed-off-by: raggi <jftucker@gmail.com>
  2. @raggi
  3. @raggi

    186 bro :'(

    raggi authored
  4. @raggi

    Merge branch 'perfix' of http://github.com/thedarkone/rack into theda…

    raggi authored
    …rkone-perfix
    
    * 'perfix' of http://github.com/thedarkone/rack:
      No need to delete a key that doesn't exist.
      Avoiding invoking #delete unless unnecessary.
      Fix the phantom header key bug.
      Revert "Don't set header to nil on HeaderHash#include?"
  5. @spastorino @raggi

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

    spastorino authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  6. @spastorino @raggi

    PERF: just using a map here is fine

    spastorino authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  7. @spastorino @raggi

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

    spastorino authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  8. @josevalim @raggi

    Etag middleware should not return a digest if body is empty and shoul…

    josevalim authored raggi committed
    …d also allow a default cache directive when no caching is done.
  9. @josevalim @raggi

    Fix Memcached tests.

    josevalim authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  10. @josevalim @raggi

    Improve performance of cookie store by unpacking the data just once.

    josevalim authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  11. @josevalim @raggi

    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 <jftucker@gmail.com>
  12. @raggi
  13. @ghazel @raggi

    do not default referer to '/'

    ghazel authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  14. @raggi
  15. @amerine @raggi

    modified rack::static comment to reflect new routes

    amerine authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  16. @amerine @raggi

    Added the ability to pass a hash of route to file mappings to Rack::S…

    amerine authored raggi committed
    …tatic
    
    Signed-off-by: raggi <jftucker@gmail.com>
Commits on Sep 24, 2010
  1. @thedarkone
Commits on Sep 22, 2010
  1. @thedarkone
  2. @thedarkone
  3. @thedarkone

    Revert "Don't set header to nil on HeaderHash#include?"

    thedarkone authored
    The change is a bit messy.
    
    This reverts commit f6f3c60.
  4. @manveru
Something went wrong with that request. Please try again.