ntang (ntang) wrote,
ntang
ntang

Tech question - webservers

So, here's a question. We've modified the apache source on some of our servers to strip down the Content-type: header from this:

Content-type: text/html; charset=ISO-8990

to

Content-type: text/html

Is that a.) a problem in any way, and b.) is there a way to do it without modifying the source? I know some things (like keepalives) are very touchy about what headers you modify; we couldn't find anything that seemed to require the charset option for Content-type, but there's also no easy way (that I could find) to remove it - so that might indicate that you aren't supposed to remove it.

(For instance, you can remove a lot of the other stuff by adding "ServerTokens Prod" to your apache conf file, so I wonder why there's no way to strip the charset out - or did I just miss it?)
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments