Re: HTTP_ACCEPT - Reliabilty?
| From: | Chris Shiflett | Date: | Tue, 14 Jan 2003 15:16:23 +0000 |
| Subject: | Re: HTTP_ACCEPT - Reliabilty? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131566@lists.php.net to get a copy of this message | ||
--- Danny Shepherd <danny@kyboshed.com> wrote:
> No, I wouldn't rely on it at all, I couldn't find a
> browser that *does* have that mime-type in it's
> header!
Danny is right. The reason you cannot depend on the Accept
header is that most browsers will include */* as an
acceptable type (which basically means the browser will
accept any type/subtype) and assign it the lowest quality
factor.
I cannot imagine a Web browser that will prefer Flash
(assigning it anything but the lowest quality factor);
maybe some Web developers should consider that when
designing user interfaces. :-)
Chris