W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2014

Re: Including screen size to header messages (extending UserAgent)

From: Martin Nilsson <nilsson@opera.com>
Date: Thu, 12 Jun 2014 13:54:43 +0200
To: ietf-http-wg@w3.org
Message-ID: <op.xhcbdhghiw9drz@uranium.bredbandsbolaget.se>
On Thu, 12 Jun 2014 13:14:33 +0200, Basem Emara <Basem@falafel.com> wrote:

> Please see following contribution to the spec to handle different screen  
> sizes for a post mobile world (written in 1996!):
> http://www.watersprings.org/pub/id/draft-mutz-http-attributes-00.txt
> It was intended for HTTP/1.1, but did not make it. It should be  
> reconsidered for HTTP/2.
> Current UserAgent is supplied in the header message, but this is  
> insufficient in deducing the screen size. We are forced to look >into a  
> table of all possible UserAgents and their screen specs to come up with  
> the screen size. This is maintenance nightmare >since ne mobile devices  
> and UserAgents are introduced every day. Servers need to know the screen  
> size rather than the device >type to serve different content or redirect  
> to a site more tailored to their screen dimensions.

While using the user agent header is not a workable solution (not only are  
there always new devices, some reuses the user agent header string of  
other devices), there are already methods available to do runtime  
detection of screen size using javascript or CSS.

/Martin Nilsson

Using Opera's revolutionary email client: http://www.opera.com/mail/
Received on Thursday, 12 June 2014 11:55:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:31 UTC