]> granicus.if.org Git - apache/commit
* Keep the Content-Type for successfully revalidated
authorRuediger Pluem <rpluem@apache.org>
Tue, 30 May 2006 20:48:09 +0000 (20:48 +0000)
committerRuediger Pluem <rpluem@apache.org>
Tue, 30 May 2006 20:48:09 +0000 (20:48 +0000)
commit6b175e597f2b2b386d3b3fbaadf4c2a62f0dd594
treeadbe2fa7ed68eb5b77f01f282a268db0327589c7
parentbf5b149101ae45c5402c455669ef1004ec8a0f56
* Keep the Content-Type for successfully revalidated
  cached objects, by unsetting possible Content-Type headers in
  r->headers_out and r->err_headers_out as they may be different to what
  we have received from the cache.
  Actually they are not needed as r->content_type set by
  ap_set_content_type a few lines above will be used in the store_headers
  functions of the storage providers as a fallback and the HTTP_HEADER filter
  does overwrite the Content-Type header with r->content_type anyway.

PR: 39647

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@410370 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/cache/cache_storage.c