Return-Path: Delivered-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Received: (qmail 83916 invoked from network); 21 Jan 2011 23:43:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jan 2011 23:43:56 -0000 Received: (qmail 40114 invoked by uid 500); 21 Jan 2011 23:43:56 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 40079 invoked by uid 500); 21 Jan 2011 23:43:56 -0000 Mailing-List: contact deltacloud-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-dev@incubator.apache.org Received: (qmail 40071 invoked by uid 99); 21 Jan 2011 23:43:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jan 2011 23:43:56 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lutter@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jan 2011 23:43:49 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0LNhTNH000383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 21 Jan 2011 18:43:29 -0500 Received: from [10.3.113.132] (ovpn-113-132.phx2.redhat.com [10.3.113.132]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p0LNhTIF025002 for ; Fri, 21 Jan 2011 18:43:29 -0500 Subject: Re: user metadata for blob creation - S3, Cloudfiles, Azure From: David Lutterkort To: deltacloud-dev@incubator.apache.org In-Reply-To: <1295638465-13954-1-git-send-email-marios@redhat.com> References: <1295638465-13954-1-git-send-email-marios@redhat.com> Content-Type: text/plain; charset="ISO-8859-15" Organization: Red Hat Inc Date: Fri, 21 Jan 2011 15:43:28 -0800 Message-ID: <1295653408.5661.6.camel@avon.watzmann.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 On Fri, 2011-01-21 at 21:34 +0200, marios@redhat.com wrote: > Another issue which is not yet settled and for which I'd be grateful > for feedback is in server.rb I am using params to get the key-value > pairs for the metadata (submitted by a html form). An alternative, and > the way the providers do it is with custom request headers > (X-AMZ-META-KEY = VALUE for S3, X-OBJECT-META-KEY = VALUE for > rackspace etc). This needs some more thought, I don't have any strong feelings either way, but if the providers do it, might be most natural to do it that way in Deltacloud too, and accept X-DC-META-KEY headers. Of course, that will make it next to impossible to set metadata from the browser, but the HTML interface is really for exploration, and not for serious uses of Deltacloud. David