Plack::Middleware::ConditionalGET(3pm)

Plack::Middleware::ConditionalGET3pm

Middleware to enable conditional get

Usage

  builder {
      enable "ConditionalGET";
      ....
  };

Overview

This middleware enables conditional GET and HEAD using "If-None-Match" and "If-Modified-Since" header. The application should set either or both of "Last-Modified" or "ETag" response headers per RFC 2616. When either of the conditions is met, the response body is set to be zero length and the status is set to 304 Not Modified.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

From libplack-perl 1.0051-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.