![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
That's what I mean by IE not obeying the headers the server gives. IE accepts what you say in the <link>, |
|
which is the correct type for an icon. |
#12
| |||
| |||
|
|
On Tue, 20 Jul 2004, Els wrote: That's what I mean by IE not obeying the headers the server gives. IE accepts what you say in the <link>, That's a leap of faith, I must say. According to the notorious "moniker" page, IE on principle disbelieves any MIME type information for a whole raft of types where it thinks it can do a better job by itself. Are you sure it's believing what what it was told? Or is it just that the <link> happens to be telling it something that it had deduced for itself already? |
|
which is the correct type for an icon. Uh-uh; but that's not the correct way to specify the MIME type for an RFC2616-conforming HTTP client (just in case anyone had missed that point!). |
#13
| |||
| |||
|
|
Then if I type in http://webdev.ucop.edu/tltc_ph2/favicon.ico I don't get to see an icon either. Just a line of strange characters in Firebird, and a blank page in Opera.. Did you really make an icon, or just changed the name of a jpg or bmp to ico? |
#14
| ||||
| ||||
|
|
Ehm I was sure it didn't obey the header, I just figured (leapt in faith as you will ;-)) it obeyed the <link>. Figured wrong I see. |
|
Uh-uh; but that's not the correct way to specify the MIME type for an RFC2616-conforming HTTP client (just in case anyone had missed that point!). Now you confused me. What is an RFC2626-confirming HTTP client, |
|
and what would be the correct way of specifying the MIME type for it? |
|
Or you mean that the type attribute in the link> isn't the correct way? |
#15
| |||
| |||
|
|
[1] SHOULD and MUST are technical terms in an RFC, and have a rather precise meaning. Which is also defined in an RFC ;-) |
#16
| ||||
| ||||
|
|
Els wrote: Brian wrote: Els wrote: your server is giving text/plain, whereas my own favicon is served as image/x-icon. IE obeys the type you give in the <link Does it? Or are you guessing? I don't have an icon creating utility, so I can't test this myself. It's got nothing to do with the icon creating utility. I didn't mean to imply that it was related to the utility, only that I could not create an icon and then test it in IE using various mime types. |
|
I just checked the headers with Lynx, and your server It's not my server; I'm not the op. |
|
is serving the icon as text/plain. That doesn't answer my question. |
|
IE accepts what you say in the <link>, which is the correct type for an icon. Does it accept what you say in the <link> attribute? Or does it sniff the contents and guess at content type? IE has a list of content types that its programmers regard as unreliable; chief among these is text/plain. In the case of a css file whose mime type is text/plain, MSIE/Win will sniff it and treat it as text/css. It doesn't matter what the http headers say, nor what the <link> claims it is. You're telling us that IE treats <LINK type="image/x-icon" ...> differently then it treats <LINK type="text/css"...>. I'm skeptical. |
#17
| |||
| |||
|
|
Els wrote: your server is giving text/plain, whereas my own favicon is served as image/x-icon. IE obeys the type you give in the <link Does it? Or are you guessing? I don't have an icon creating utility, so I can't test this myself. |
#18
| |||
| |||
|
|
and what would be the correct way of specifying the MIME type for it? |
|
For HTTP resources there's no doubt: the *server* SHOULD[1] send the correct MIME type. And if the server does what it SHOULD, then the client MUST accept it (or reject the resource as defective/unusable) - that's a security feature. |
#19
| |||
| |||
|
|
"Alan J. Flavell" <flavell (AT) ph (DOT) gla.ac.uk> posted: For HTTP resources there's no doubt: the *server* SHOULD[1] send the correct MIME type. And if the server does what it SHOULD, then the client MUST accept it (or reject the resource as defective/unusable) - that's a security feature. Although, in this case, there is no "correct" MIME type. There's an experimental one, but no registered one. |
|
MSIE was actually the worst at it. |
#20
| |||
| |||
|
|
If you are using a PC, IrfanView is free, |
![]() |
| Thread Tools | |
| Display Modes | |
| |