Re: [Imap-protocol] Re: Suspend/Restore feature proposal
Joshua Cranmer <[email protected]>
| Newsgroups | gmane.mail.imap.general |
|---|---|
| Message-ID | <[email protected]> |
On 11/26/2012 7:48 PM, Michael M Slusarz wrote: > IMAP command sniffing = javascript browser sniffing. The days of > parsing a browser's User-Agent field are so 1999. As someone who has seen both ends of the User-Agent debate (as a web developer and as a browser implementer), I can honestly say that parsing User-Agents is actually a very powerful and useful technique, and even browser vendors won't have a problem with it... if you do it properly. I can also attest that User-Agent parsing happens to a very large degree in the modern web (Google, of all people, does it. And incorrectly, the last time I checked): try changing your desktop's browser UA to that of a mobile browser and notice how different the web looks. Not to mention all the feedback you see on things like the WHATWG mailing list complaining that the User-Agent doesn't send screen resolution... -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth _______________________________________________ Imap-protocol mailing list [email protected] http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol