Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 18, 2012
  1. @rykov
Commits on Apr 27, 2011
  1. @tenderlove

    deflater flushes each chunk of the response

    Eric Wong authored tenderlove committed
    This allows clients to receive streaming response bodies as
    they're generated by the application, not only when it's ideal
    for zlib.  Space-efficiency is hurt somewhat, but there's no
    other way to allow this middleware to work without completely
    breaking otherwise valid applications.
Commits on Aug 5, 2009
  1. @josh

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

    josh authored
    This reverts commit 6ae0a10.
Commits on Aug 4, 2009
  1. @josh

    Use more compatible gzip write api instead of "<<".

    josh authored
    Fixes undefined method `<<' for Zlib::GzipWriter on JRuby
Commits on Aug 3, 2009
  1. @josh
Commits on Mar 14, 2009
  1. @rtomayko

    Rack::Deflater streaming

    rtomayko authored
Commits on Mar 11, 2009
  1. @rtomayko
Commits on Feb 6, 2009
  1. @rtomayko

    Fix spec failures in Rack::Deflator under 1.9

    rtomayko authored
    There were two issues here that
    
    * String#length was used to determine the Content-Length
      resulting in off-by-one failures in expected length
      assertions.
    
    * The specs were using body.to_s to convert bodies to Strings.
      In Ruby 1.8, #to_s is like #join; in Ruby 1.9, #to_s is like
      #inspect
Commits on Jan 22, 2009
  1. @josh
Commits on Jan 14, 2009
  1. @josh
Commits on Dec 30, 2008
  1. @rtomayko

    Use HeaderHash where header case should be insensitive

    rtomayko authored
    The ConditionalGet, ContentLength, Deflator, and ShowStatus
    middleware components were reading/checking headers case
    sensitively.
Commits on Dec 28, 2008
  1. @chneukirchen
  2. @rtomayko
Commits on Dec 20, 2008
  1. Fixed Rack::Deflater to handle responses with Last-Modified header

    Dan Kubb authored
    * There was a bug when performing gzip compression where the
      Last-Modified response header was assumed to be a Time object,
      and passed directly to Zlib::GzipWriter#mtime, causing an exception
      since it is always a String.
    
      This fix parses the Last-Modified header using Time.httpdate and
      returns a Time obejct, which can be safely passed to
      Zlib::GzipWriter#mtime.
  2. Added Accept-Encoding to HTTP Vary header

    Dan Kubb authored
Commits on Jul 6, 2008
  1. @qerub @chneukirchen

    deflater.rb - Make gzip's mtime parameter mandatory

    qerub authored chneukirchen committed
  2. @qerub @chneukirchen

    deflater.rb - Update TODOs

    qerub authored chneukirchen committed
  3. @qerub @chneukirchen
  4. @qerub @chneukirchen
  5. @spicyj @chneukirchen

    added mtime for Deflater.gzip and fixed gzip spec

    spicyj authored chneukirchen committed
  6. @qerub @chneukirchen
  7. @chneukirchen

    added gzip support to Rack::Deflater

    Ben authored chneukirchen committed
  8. @qerub @chneukirchen

    Implemented Rack::Deflater

    qerub authored chneukirchen committed
Something went wrong with that request. Please try again.