Bill Moseley <[EMAIL PROTECTED]> writes:

> I've been setting both Cache-Control max-age and Expires.  But I
> noticed that remove_content_headers() only removes the
> @entity_headers which only includes Expires.
> 
> Should remove_content_headers remove both?

I'm not sure.  RFC 2616 section 4.5 starts out saying "There are a few
header fields which have general applicability for both request and
response messages, but which do not apply to the entity being
transferred." and Cache-Control is one of these.  This implies that
remove_content_headers shouldn't touch it.

Does the current behaviour create a problem in your application?

--Gisle

Reply via email to