On 2007.02.17, Michael Andrews <[EMAIL PROTECTED]> wrote: > I need to set the Content-Type output header in page code, but it > keeps getting overwritten by the config setting. Any thoughts?
Actually, is it getting overwritten, or is the server sending back *two* Content-Type headers in the HTTP response? I think this is a bug--if the request processing has set the [ns_conn outputheaders] to explicitly set/include a Content-Type header, the normal request processing code shouldn't *also* send the server-configured Content-Type, which results in the double-header issue. (And, I think, the server-configured one gets sent second, which is what the average web browser client seems to pay attention to.) -- Dossy -- Dossy Shiobara | [EMAIL PROTECTED] | http://dossy.org/ Panoptic Computer Network | http://panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70) -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
