Posted by Dan on 11/13/08 11:26
WD10 wrote:
> On Thu, 08 Sep 2005 18:20:01 -0700, Dan wrote:
>
> > WD10 wrote:
> >> > The use of a "content-type" meta tag is an inferior substitute for
> >> > sending actual correct HTTP headers at the server level.
> >>
> >> How do you recommend doing it?
> >
> > On an Apache server it can be accomplished with a .htaccess file.
>
> Why is that better than the meta tag? Isn't an .htaccess file a last
> resort in a situation because it increases work for the server?
A meta "http-equiv" tag is intended as a substitute for a real HTTP
header, for cases where for whatever reason you are unable to send one.
It's more logically pure to send the right HTTP header in the first
place than to substitute for it later.
--
Dan
Navigation:
[Reply to this message]
|