You can use Fiddler to take a peek at user agents. For example, an IE request for google looks like this:
GET /csi?v=3&s=webhp&action=&e=17259,17291,23189&ei=HE9MS66yO4WI_AaJrYXgDA&rt=prt.469,xjsls.750,xjses.1234,xjsee.1422,xjs.1453,ol.1828 HTTP/1.1 Accept: */* Referer: http://www.google.at/ Accept-Language: en-us,de-at;q=0.5 User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E) Accept-Encoding: gzip, deflate Host: www.google.at Connection: Keep-Alive Link is http://www.fiddler2.com/fiddler2/ BR, Adrian Vintu On Tue, Jan 12, 2010 at 11:28 AM, Adrian Vintu <adrianvi...@gmail.com>wrote: > Sure. You have to use the user agent. > > You have something like > > Mozilla/5.0 (Linux; U; Android 1.5; en-us; Galaxy Build/CUPCAKE) > AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1 > > for Android > > and something like > > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 > Firefox/3.5.5 (.NET CLR 3.5.30729) > > from the normal Firefox browser. > > BR, > Adrian Vintu > > > On Tue, Jan 12, 2010 at 11:21 AM, Neilz <neilhorn...@googlemail.com>wrote: > >> Hi all. >> >> Could a standard web server identify an HTTP request as coming from a >> normal browser, as opposed to an Android application? >> >> What could be different about the request that would enable the server >> to differentiate between the two, and modify the response accordingly? >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > >
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en