This post is more than 2 years old.
In both cases though you can't do it in one request only. You would have to use two requests to figure it out.
Edit: I forgot to mention. I've used the excellent BrowserHack in the past for clients who insist on stuff like this.