Hi all,

Recently someone noted that certain parts of Ebay didn't work via
mod_proxy. This was because the pages in question had no content-type
header, and Apache was adding a default header "text/plain", which
caused browsers to display the source of the page.

The resulting discussion said that proxy should just send through no
content-type header if one was not supplied, and let the borwser handle
the brokenness. However - the code that actually adds the content-type
when it is missing sits in make_content_type() in http_protocol.c.

So - the fix seems to be to change make_content_type() to return NULL if
the incoming content-type is missing. But - will this break anything
else...?

Regards,
Graham
-- 
-----------------------------------------
[EMAIL PROTECTED]                "There's a moon
                                        over Bourbon Street
                                                tonight..."

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to