Re: [rt.blitzed.org #1069] mime-type css blitzed site/cgiirc
"Mrten via RT" <[email protected]>
| Newsgroups | gmane.network.irc.blitzed.web |
|---|---|
| Message-ID | <[email protected]> |
<URL: http://rt.blitzed.org:80/Ticket/Display.html?id=1069 >
Om 09:56 op zondag 27 juni 2004, Philipp Kern via RT:
>> css should be sent with text/css, not text/html.
> I agree, I'll copy the CGI::IRC developer as this isn't really
> something local.
if you mean dg; he's away, which is why i posted a ticket in RT.
>> (same difference for xhtml, btw, dunno if that is the case
>> anywhere)
> I disagree. I know that it should be send with its own mime-type,
> however there are still browsers around that fear the new mime-type
> and want to open the page instead of displaying it.
<?php
if (array_key_exists('HTTP_ACCEPT',$_SERVER) &&
stristr($_SERVER['HTTP_ACCEPT'],"application/xhtml+xml")) {
Header("Content-Type: application/xhtml+xml; charset=iso-8859-1");
?>
*points to random sig (really!)*
Mrten.
--
Friends don't let friends use Internet Explorer.
http://www.mozilla.org/
_______________________________________________
web mailing list
web-Hb7ITwsGSD4lroQnaJEqWdi2O/[email protected]
http://lists.blitzed.org/listinfo/web
signature.asc
(application/pgp-signature, 191 B)
-----BEGIN PGP MESSAGE----- Version: 6.5.8ckt http://www.ipgpp.com/ iQA/AwUBQN6OWUtQMadp+KslEQIaSQCg/Gd37Fu59WHCQM6FHm/jU2ekqh0AoLBT sJbW2Zj7genTwSot0Mx9QZ4Y =PF2y -----END PGP MESSAGE-----