#6 ✓resolved
Ryan Tomayko

[PATCH] Rack::Deflator should respect Cache-Control: no-transform

Reported by Ryan Tomayko | December 28th, 2008 @ 08:59 AM | in 0.9

Simple patch that makes Rack::Deflator do nothing when the 'no-transform' Cache-Control directive is specified on the response:

http://github.com/rtomayko/rack/...

This allows the origin app (or downstream middleware components) to disable Content-Encoding on a per-response basis.

Relevant spec text is RFC 2616 section 14.9.5:

http://tools.ietf.org/html/rfc26....9.5

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages