Re: [apps-discuss] content inspection in absence of media type, was: APPSDIR review of draft-ietf-httpbis-p2-semantics-24
S Moonesamy <sm+ietf@elandsys.com> Tue, 29 October 2013 13:49 UTC
Return-Path: <sm@elandsys.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A922811E824C; Tue, 29 Oct 2013 06:49:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.728
X-Spam-Level:
X-Spam-Status: No, score=-102.728 tagged_above=-999 required=5 tests=[AWL=-0.129, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FNwgcA4QM7-W; Tue, 29 Oct 2013 06:49:58 -0700 (PDT)
Received: from mx.ipv6.elandsys.com (mx.ipv6.elandsys.com [IPv6:2001:470:f329:1::1]) by ietfa.amsl.com (Postfix) with ESMTP id DE80C11E8242; Tue, 29 Oct 2013 06:49:58 -0700 (PDT)
Received: from SUBMAN.elandsys.com ([197.224.128.39]) (authenticated bits=0) by mx.elandsys.com (8.14.5/8.14.5) with ESMTP id r9TDne3n017632 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Oct 2013 06:49:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opendkim.org; s=mail2010; t=1383054594; bh=d73n3/K2HZ/iy8R9KTgH8dYoY+Wzn/c+g2rRWgLgsL4=; h=Date:To:From:Subject:Cc:In-Reply-To:References; b=muz2fkPNs62YeJ7wHV7tFWLkSdk0PmG//kVQs6OdPoCyO7VH68TqSLtsPAlkMD2zR Fjgvhce3+yKO7uZ3cUdxmwxPRIbJ0HYnkTUTern0Zn7Qg4NV0TfCyf2lBL6+B0vnmz 2IAEW0a5xmnrE2siK/IgZFjiFocZ1yE6tikujP1g=
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elandsys.com; s=mail; t=1383054594; i=@elandsys.com; bh=d73n3/K2HZ/iy8R9KTgH8dYoY+Wzn/c+g2rRWgLgsL4=; h=Date:To:From:Subject:Cc:In-Reply-To:References; b=dJyAeT6Nz9MvtOfwXncj15YGLm9DP+Wem0bhQm3iGqzrxP96L153Ips63dECdKGkK AGxizHGLvNi+02jiHGUe2P9l7A91MJvxfIcxkVVyNUdCoLlkFHm/ybqBLJj/ymW3Nq m1XIa696fQ8cy6DUH1TDAgc3RFx0A6KZv2gSUGLI=
Message-Id: <6.2.5.6.2.20131029050405.0caf8b40@elandnews.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Tue, 29 Oct 2013 06:26:34 -0700
To: Julian Reschke <julian.reschke@gmx.de>, apps-discuss@ietf.org, draft-ietf-httpbis-p2-semantics.all@tools.ietf.org
From: S Moonesamy <sm+ietf@elandsys.com>
In-Reply-To: <526E8B9E.8030006@gmx.de>
References: <6.2.5.6.2.20131027115007.07e32210@elandnews.com> <526E8B9E.8030006@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Cc: ietf@ietf.org, iesg@ietf.org, ietf-http-wg@w3.org
Subject: Re: [apps-discuss] content inspection in absence of media type, was: APPSDIR review of draft-ietf-httpbis-p2-semantics-24
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Oct 2013 13:49:59 -0000
Hi Julian, At 09:06 28-10-2013, Julian Reschke wrote: >On 2013-10-28 09:07, S Moonesamy wrote: >(which expired ~2 years ago) I guess that the working group gave up. Please note that I did not suggest adding a reference. >Could you clarify what exactly the issue is? > >RFC 2616 said >(<http://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.7.2.1.p.4>): > >>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". > >...which isn't that different. The 'If the media type remains unknown, the recipient SHOULD treat it as type "application/octet-stream' from RFC 2616 is not in draft-ietf-httpbis-p2-semantics-24. The issue is the "or examine the data to determine its type". I'll comment about the text (Section 3.1.1.5) again. The server has to generate a Content-Type header field unless the media type is unknown. There is then a RFC 2119 "may" which is applicable when the (previous) RFC 2119 "should" cannot be applied. My reading of the "may" is that the usage is not entirely correct. I am not raising that as an issue. The issue is whether there is a security problem and whether there is adequate discussion of it (e.g. it is discussed in a Security Considerations section). Regards, S. Moonesamy
- [apps-discuss] APPSDIR review of draft-ietf-httpb… S Moonesamy
- [apps-discuss] obs-date, was: APPSDIR review of d… Julian Reschke
- [apps-discuss] IANA issues, was: APPSDIR review o… Julian Reschke
- Re: [apps-discuss] obs-date, was: APPSDIR review … Julian Reschke
- [apps-discuss] content inspection in absence of m… Julian Reschke
- Re: [apps-discuss] content inspection in absence … S Moonesamy
- Re: [apps-discuss] content inspection in absence … Julian Reschke
- Re: [apps-discuss] content inspection in absence … Barry Leiba
- Re: [apps-discuss] obs-date, was: APPSDIR review … John C Klensin
- Re: [apps-discuss] obs-date, was: APPSDIR review … John C Klensin
- Re: [apps-discuss] obs-date, was: APPSDIR review … Amos Jeffries
- Re: [apps-discuss] IANA issues, was: APPSDIR revi… S Moonesamy
- Re: [apps-discuss] obs-date, was: APPSDIR review,… S Moonesamy
- Re: [apps-discuss] IANA issues, was: APPSDIR revi… Julian Reschke
- Re: [apps-discuss] content inspection in absence … Martin J. Dürst
- Re: [apps-discuss] obs-date, was: APPSDIR review … Martin J. Dürst
- Re: [apps-discuss] content inspection in absence … Julian Reschke
- Re: [apps-discuss] content inspection in absence … S Moonesamy
- Re: [apps-discuss] content inspection in absence … Mark Nottingham
- Re: [apps-discuss] content inspection in absence … Martin J. Dürst
- Re: [apps-discuss] content inspection in absence … S Moonesamy
- Re: [apps-discuss] content inspection in absence … Henry S. Thompson
- Re: [apps-discuss] content inspection in absence … Larry Masinter