W3C

Edit comment LC-1690 for Mobile Web Best Practices Working Group

Quick access to

Previous: LC-1723 Next: LC-1737

Comment LC-1690
:
Commenter: Laurens Holst <lholst@students.cs.uu.nl>

or
Resolution status:

First, section 2.3.2 HTTP Request states:

> *
>
> Include an |Accept| header indicating that Internet media types
> understood by the default delivery context are accepted by
> sending exactly this header:
>
> Accept: application/xhtml+xml,text/html;q=0.1,application/vnd.wap.xhtml+xml;q=0.1,text/css,image/jpeg,image/gif
>
>

I think this is incorrect, text/css should NOT be included in the Accept
header, and image/jpeg and image/gif ONLY if the UA is expected to
support showing these images independantly of a document (the mobileOK
tests should explicitly check whether this is supported). The client
after all does not know how to handle a text/css file independently of
XML markup.

Instead, it should send an "Accept: text/css" header when the CSS files
that are linked using <link rel="stylesheet">, <?xml-stylesheet?> or
@include. Similarly, images referenced from <img> should send an
"Accept: image/jpeg,image/gif" header. Aside from checking the Accept
header for the main page, the mobileOK tests should also check that
Accept headers send these values for stylesheet and image requests.
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 1690.html,v 1.1 2017/08/11 06:43:37 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org