- From: =JeffH <Jeff.Hodges@KingsMountain.com>
- Date: Wed, 08 Apr 2009 13:47:52 -0700
- To: HTTP Working Group <ietf-http-wg@w3.org>
 > It seems like Mark's proposal is the minimum required to declare
 > victory, from an HTTP standpoint at least.
 >
 > Remove this text from p3 section 3.2.1:
 >> "If and only if the media type is not given by a Content-Type field,
 >> the recipient MAY attempt to guess the media type via inspection of
 >> its content and/or the name extension(s) of the URI used to identify
 >> the resource."
Nominally agreed.
The entire present paragraph from p3 section 3.2.1 reads..
    Any HTTP/1.1 message containing an entity-body SHOULD include a
    Content-Type header field defining the media type of that body.  If
    and only if the media type is not given by a Content-Type field, the
    recipient MAY attempt to guess the media type via inspection of its
    content and/or the name extension(s) of the URI used to identify the
    resource.  If the media type remains unknown, the recipient SHOULD
    treat it as type "application/octet-stream".
If the second sentence is simply deleted it will read..
    Any HTTP/1.1 message containing an entity-body SHOULD include a
    Content-Type header field defining the media type of that body.
    If the media type remains unknown, the recipient SHOULD
    treat it as type "application/octet-stream".
..which seems sub-optimal wrt the "remains unknown" phrase.
We should probably alter the last sentence in the para such that the para reads 
e.g...
    Any HTTP/1.1 message containing an entity-body SHOULD include a
    Content-Type header field defining the media type of that body.
    If a Content-Type header field is not present, the recipient SHOULD
    treat the entity-body as type "application/octet-stream".
Further subtle refinements worth considering are..
   s/defining/declaring/
   s/treat/regard/
..yielding..
    Any HTTP/1.1 message containing an entity-body SHOULD include a
    Content-Type header field declaring the media type of that body.
    If a Content-Type header field is not present, the recipient SHOULD
    regard the entity-body as type "application/octet-stream".
HTH,
=JeffH
Received on Wednesday, 8 April 2009 20:48:26 UTC