ASF Bugzilla – Attachment 18097 Details for
Bug 39266
After enabling mod_cache via the mod_memory_cache storage engine MIME types revert to the DefaultType directive...
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against trunk
39266.diff (text/plain), 845 bytes, created by
Ruediger Pluem
on 2006-04-14 14:45:48 UTC
(
hide
)
Description:
Patch against trunk
Filename:
MIME Type:
Creator:
Ruediger Pluem
Created:
2006-04-14 14:45:48 UTC
Size:
845 bytes
patch
obsolete
>Index: modules/cache/mod_mem_cache.c >=================================================================== >--- modules/cache/mod_mem_cache.c (Revision 394090) >+++ modules/cache/mod_mem_cache.c (Arbeitskopie) >@@ -690,6 +690,14 @@ > /* Precompute how much storage we need to hold the headers */ > headers_out = ap_cache_cacheable_hdrs_out(r->pool, r->headers_out, > r->server); >+ >+ /* If not set in headers_out, set Content-Type */ >+ if (!apr_table_get(headers_out, "Content-Type") >+ && r->content_type) { >+ apr_table_setn(headers_out, "Content-Type", >+ ap_make_content_type(r, r->content_type)); >+ } >+ > headers_out = apr_table_overlay(r->pool, headers_out, r->err_headers_out); > > rc = serialize_table(&mobj->header_out, &mobj->num_header_out,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 39266
: 18097