Skip to content
Commits on May 20, 2011
  1. @raggi

    Return behavior against Connection: close for Content-Length middlewa…

    …re, as it's contended. Left notes for future discussion.
    raggi committed May 20, 2011
  2. @raggi

    Fix support for variable length bodies that respond to to_ary. Add no…

    …tes for future proposed changes. Include test coverage.
    raggi committed May 19, 2011
  3. @josh

    Revert "Improve Rack::ContentLength middleware."

    This reverts commit 2b3abc7.
    josh committed May 19, 2011
Commits on May 19, 2011
  1. @josevalim

    Improve Rack::ContentLength middleware.

    1) It makes Rack::ContentLength middleware conform with the rack specification by removing the to_ary check;
    
    2) Make Rack::ContentLength accept an extra header argument that checks for sendfile headers
    josevalim committed May 19, 2011
Commits on Oct 5, 2010
  1. @raggi

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

    …ers. this should not be forced on users.
    raggi committed Oct 4, 2010
Commits on Mar 9, 2010
  1. @lsiden @rtomayko
Commits on Mar 11, 2009
  1. @rtomayko
Commits on Jan 14, 2009
  1. @josh
Commits on Dec 30, 2008
  1. @rtomayko

    Use HeaderHash where header case should be insensitive

    The ConditionalGet, ContentLength, Deflator, and ShowStatus
    middleware components were reading/checking headers case
    sensitively.
    rtomayko committed Dec 29, 2008
Commits on Dec 23, 2008
  1. @rtomayko

    Rack::ContentLength tweaks ...

     * Adds a Content-Length header only when the body is of knownable
       length (String, Array).
     * Does nothing when Transfer-Encoding header is present in
       response.
     * Uses a Set instead of an Array for status code lookup (linear
       search through 102 elements seemed expensive).
    rtomayko committed Dec 22, 2008
Commits on Dec 20, 2008
  1. Moved STATUS_WITH_NO_ENTITY_BODY into Rack::Utils

    * Removed duplicate constant from Rack::ContentLength and Rack::Lint
    Dan Kubb committed Dec 20, 2008
Commits on Dec 9, 2008
  1. @josh

    Add ContentLength middleware

    josh committed Dec 9, 2008
Something went wrong with that request. Please try again.