Content-Disposition in PUT/POST

Arnaud Quillaud <arnaud.quillaud@oracle.com> Tue, 31 January 2012 18:29 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2409921F8540 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jan 2012 10:29:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.599
X-Spam-Level:
X-Spam-Status: No, score=-8.599 tagged_above=-999 required=5 tests=[AWL=2.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 G8xtMewbht0e for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jan 2012 10:29:31 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6EFB421F853F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jan 2012 10:29:31 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RsIRz-0004lF-S8 for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jan 2012 18:29:03 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <arnaud.quillaud@oracle.com>) id 1RsIRn-0004k7-Kr for ietf-http-wg@listhub.w3.org; Tue, 31 Jan 2012 18:28:51 +0000
Received: from rcsinet15.oracle.com ([148.87.113.117]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <arnaud.quillaud@oracle.com>) id 1RsIRl-0001Ay-4m for ietf-http-wg@w3.org; Tue, 31 Jan 2012 18:28:51 +0000
Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0VISMD2007819 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <ietf-http-wg@w3.org>; Tue, 31 Jan 2012 18:28:23 GMT
Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0VISLoS003377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-http-wg@w3.org>; Tue, 31 Jan 2012 18:28:22 GMT
Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0VISLhd030953 for <ietf-http-wg@w3.org>; Tue, 31 Jan 2012 12:28:21 -0600
Received: from [10.159.181.209] (/10.159.181.209) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 31 Jan 2012 10:28:21 -0800
Message-ID: <4F2832C3.1000200@oracle.com>
Date: Tue, 31 Jan 2012 10:28:19 -0800
From: Arnaud Quillaud <arnaud.quillaud@oracle.com>
Organization: Oracle Corporation
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Source-IP: ucsinet22.oracle.com [156.151.31.94]
X-CT-RefId: str=0001.0A090205.4F2832C7.0083,ss=1,re=0.000,fgs=0
Received-SPF: none client-ip=148.87.113.117; envelope-from=arnaud.quillaud@oracle.com; helo=rcsinet15.oracle.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RsIRl-0001Ay-4m e2ff4a686c08e07172d1043845d40af8
X-Original-To: ietf-http-wg@w3.org
Subject: Content-Disposition in PUT/POST
Archived-At: <http://www.w3.org/mid/4F2832C3.1000200@oracle.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12271
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1RsIRz-0004lF-S8@frink.w3.org>
Resent-Date: Tue, 31 Jan 2012 18:29:03 +0000

Hello,

The content-disposition header is defined in RFC6266:
<<

    The Content-Disposition response header field is used to convey
    additional information about how to process the response payload, and
    also can be used to attach additional metadata, such as the filename
    to use when saving the response payload locally.

>>

This definition was inherited from RFC2616 and remains silent on the use 
of this header in HTTP *requests* although it seems like a natural fit 
in operations like WebDAV PUT (or AtomPUB POST). Is this an oversight ?

Thanks,

Arnaud Quillaud

PS: it looks like some WebDAV-like services are actually accepting this 
header in requests already (see 
https://developers.google.com/storage/docs/reference-headers#contentdisposition 
or 
http://docs.amazonwebservices.com/AmazonS3/2006-03-01/API/RESTObjectPUT.html 
).