|
Posted by John Dunlop on 10/07/05 22:26
Dikkie Dik wrote:
> John Dunlop wrote:
>
> > http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.asp
>
> Thanks. This explains a lot.
what, you mean, you understood that?? I salute you. it took me god knows
how many readings just to get the gist of it.
> I have written a translation script that will convert a HTML page to PML
> (a plaintext format that can be converted to Palmreader documents).
> However, as the first HTML tags were processed, IE kept displaying the
> results as HTML, despite the header stating it was text/plain.
> At some point during development, it got displayed as text.
IE recognises text/plain as an 'ambiguous' type (although the doc does
mention an exception, IE6 for XP SP2), so to disambiguate it it scans the
contents (the first 256 bytes) and determines what it thinks should be the
"true" type, and thus overrides your Content-Type header (step 2).
Broken As Designed.
--
Jock
[Back to original message]
|