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

    Janne Hietamaki
    Janne Hietamaki committed Dec 9, 2010
Commits on Dec 2, 2010
  1. Fixed handling of multipart fields that have Content-Type but are not…

    Janne Hietamaki
    Janne Hietamaki committed Dec 2, 2010
    … files.
    
    rack@acffe8e
Commits on Nov 2, 2010
Commits on Oct 28, 2010
Commits on Oct 26, 2010
Commits on Oct 10, 2010
  1. ssl? should also return true if rack.url_scheme is https.

    josevalim authored and raggi committed Oct 8, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  2. showexceptions: gracefully handle empty backtraces

    raggi committed Oct 10, 2010
    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. release semantics of Rack::Chunked and Rack::ContentLength from handl…

    raggi committed Oct 4, 2010
    …ers. this should not be forced on users.
Commits on Oct 4, 2010
  1. minor style changes for merge

    raggi committed Oct 4, 2010
  2. Byte-range support for File class.

    snej authored and raggi committed Oct 4, 2010
    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. Move sid initialization to another method so it can be overwritten by…

    josevalim authored and raggi committed Oct 3, 2010
    … other frameworks.
    
    Signed-off-by: raggi <jftucker@gmail.com>
  2. 186 bro :'(

    raggi committed Oct 3, 2010
  3. Merge branch 'perfix' of http://github.com/thedarkone/rack into theda…

    raggi committed Oct 3, 2010
    …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?"
  4. PERF: change inject({}) to Hash + map

    spastorino authored and raggi committed Oct 3, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  5. PERF: just using a map here is fine

    spastorino authored and raggi committed Oct 3, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  6. PERF: change inject({}) to Hash + map

    spastorino authored and raggi committed Oct 3, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  7. Etag middleware should not return a digest if body is empty and shoul…

    josevalim authored and raggi committed Sep 22, 2010
    …d also allow a default cache directive when no caching is done.
  8. Fix Memcached tests.

    josevalim authored and raggi committed Oct 3, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  9. Improve performance of cookie store by unpacking the data just once.

    josevalim authored and raggi committed Sep 28, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  10. Improves performance by lazy loading the session.

    josevalim authored and raggi committed Sep 19, 2010
    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>
  11. do not default referer to '/'

    ghazel authored and raggi committed Sep 17, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  12. modified rack::static comment to reflect new routes

    amerine authored and raggi committed Sep 11, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  13. Added the ability to pass a hash of route to file mappings to Rack::S…

    amerine authored and raggi committed Sep 11, 2010
    …tatic
    
    Signed-off-by: raggi <jftucker@gmail.com>
Commits on Sep 24, 2010
Commits on Sep 22, 2010
  1. Revert "Don't set header to nil on HeaderHash#include?"

    thedarkone committed Sep 22, 2010
    The change is a bit messy.
    
    This reverts commit f6f3c60.