Re: Determine from a HTTP request if the user is on a Smart Phone, IE, Firefox

2011-01-31 Thread Ben Finney
Sascha writes: > I am returning specialised website html according to what platform the > user is on. Is there a way to determine if the user is on a Smart > Phone or on IE or on Firefox? The HTTP standard defines the “User-Agent” field, to be sent as part of the request header http://en.wikiped

Re: Determine from a HTTP request if the user is on a Smart Phone, IE, Firefox

2011-01-31 Thread Vivek Shrivastava
> > its userAgent or UserAgent String. Though its easy to send request with > any( fake) userAgent but its industry standard to get browser information > from userAgent only. > > http://www.useragentstring.com/pages/useragentstring.php > > > > On Mon, Jan 31, 2011 at 2:46 PM, James Mills > wrote:

Re: Determine from a HTTP request if the user is on a Smart Phone, IE, Firefox

2011-01-31 Thread James Mills
On Tue, Feb 1, 2011 at 8:16 AM, Sascha wrote: > I am returning specialised website html according to what platform the > user is on. Is there a way to determine if the user is on a Smart > Phone or on IE or on Firefox? I have an iPad and just wrote a simple demo app to test this: http://prologic

Re: Determine from a HTTP request if the user is on a Smart Phone, IE, Firefox

2011-01-31 Thread Chris Rebert
On Mon, Jan 31, 2011 at 2:16 PM, Sascha wrote: > Hello > > I am returning specialised website html according to what platform the > user is on. Is there a way to determine if the user is on a Smart > Phone or on IE or on Firefox? Yes, the "User-Agent" HTTP header: http://en.wikipedia.org/wiki/Use

Determine from a HTTP request if the user is on a Smart Phone, IE, Firefox

2011-01-31 Thread Sascha
Hello I am returning specialised website html according to what platform the user is on. Is there a way to determine if the user is on a Smart Phone or on IE or on Firefox? Using python &/or examining HTTP packets? -- http://mail.python.org/mailman/listinfo/python-list