http://qs1969.pair.com?node_id=134609


in reply to Javascripts in HTML header

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Re: Javascripts in HTML header
by chromatic (Archbishop) on Dec 28, 2001 at 05:47 UTC
    What if the user agent doesn't recognize "content-type", but prefers "Content-type"? That particular header may be case-insensitive; I don't know for sure. I do know that you don't have \r\n line endings.

    It may be faster, but it's not correct according to the standard. If you're stuck on a server where CGI.pm absolutely cannot be installed, this may be a useful approach.