Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 17, 2012
  1. @stephencelis

    Don't set blank Cache-Control header in Rack::ETag

    stephencelis authored
    A Cache-Control header with an empty string is meaningless (confusing,
    even, to those inspecting response headers) and slightly wasteful.
    
    Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Commits on Mar 31, 2012
  1. @lgierth

    Wrap test apps in Rack::Lint and fix uncovered errors (third pass)

    lgierth authored lgierth committed
    Update tests for Directory, ETag, File and Head.
Commits on Feb 23, 2012
  1. @fabiokr
Commits on Jun 27, 2011
  1. @mmb
  2. @mmb

    fix typo

    mmb authored
Commits on Apr 15, 2011
  1. @josevalim @tenderlove

    Do not send ETag if no-cache is set.

    josevalim authored tenderlove committed
Commits on Oct 3, 2010
  1. @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.
Commits on Sep 6, 2010
  1. @josevalim @raggi

    Ensure the HTTP Cache-Control is set in the Etag middleware if none w…

    josevalim authored raggi committed
    …as given. It is extremally important to mark these responses as private by default.
Commits on Aug 6, 2010
  1. @josevalim @raggi

    Should set ETag only if status is 200 or 201.

    josevalim authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
Commits on Jul 19, 2010
  1. @raggi
  2. @josevalim @raggi

    ETag middleware should not be triggered in sendfile bodies.

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

    Rack::Etag should not set ETag if Last-Modified header is sent.

    josevalim authored raggi committed
    The HTTP specification says that if both Last-Modified and ETag are sent, both should be matched in other to check if a request is fresh or not. If Rack always set ETag, even if Last-Modified is sent, checking the freshness according to specification becomes non trivial, since I will always need the digested body response.
    
    Signed-off-by: raggi <jftucker@gmail.com>
Commits on Mar 4, 2010
  1. @jeremy
Commits on Dec 11, 2009
  1. @josh
Something went wrong with that request. Please try again.