Changes with Apache 2.3.0
[Remove entries to the current 2.0 and 2.2 section below, when backported]
+ *) mod_mem_cache: Set content type correctly when delivering data from
+ cache. PR 39266. [Ruediger Pluem]
+
*) worker and event MPMs: fix excessive forking if fork() or child_init
take a long time. PR 39275.
[Greg Ames, Jeff Trawick, Chris Darroch <chrisd pearsoncmg.com> ]
/* 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,