Return-Path: Delivered-To: apmail-incubator-shindig-dev-archive@locus.apache.org Received: (qmail 18296 invoked from network); 1 Dec 2008 16:59:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 16:59:30 -0000 Received: (qmail 99497 invoked by uid 500); 1 Dec 2008 16:59:41 -0000 Delivered-To: apmail-incubator-shindig-dev-archive@incubator.apache.org Received: (qmail 99474 invoked by uid 500); 1 Dec 2008 16:59:41 -0000 Mailing-List: contact shindig-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: shindig-dev@incubator.apache.org Delivered-To: mailing list shindig-dev@incubator.apache.org Received: (qmail 99463 invoked by uid 99); 1 Dec 2008 16:59:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 08:59:41 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lryan@google.com designates 216.239.45.13 as permitted sender) Received: from [216.239.45.13] (HELO smtp-out.google.com) (216.239.45.13) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 16:58:09 +0000 Received: from wpaz29.hot.corp.google.com (wpaz29.hot.corp.google.com [172.24.198.93]) by smtp-out.google.com with ESMTP id mB1Gwu00005934 for ; Mon, 1 Dec 2008 08:58:56 -0800 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1228150736; bh=qICVfZ7Iw7UCzFdD8+ORvz2GmQE=; h=DomainKey-Signature:MIME-Version:In-Reply-To:References:Date: Message-ID:Subject:From:To:Content-Type; b=sXtGT8NA5IEjjc5ehw5rRWP rUnGjyO/fCbfTT0UWaee7FpFHH3F02niXHJs9+TNQv1muXmwFnB2J6QO1ZzurAw== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to:content-type; b=Ul7vejlVfcSLsbg74p7jKxJKvkGsyhD9JgxvMosM4BofTYIX5RrLlyZeBkg0D8QTj D+/7cXDPBHOKuOE95sgDg== Received: from qyk14 (qyk14.prod.google.com [10.241.83.142]) by wpaz29.hot.corp.google.com with ESMTP id mB1GwUue013909 for ; Mon, 1 Dec 2008 08:58:55 -0800 Received: by qyk14 with SMTP id 14so2679415qyk.3 for ; Mon, 01 Dec 2008 08:58:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.65.61.5 with SMTP id o5mr11757808qbk.91.1228150734168; Mon, 01 Dec 2008 08:58:54 -0800 (PST) In-Reply-To: References: <2b27d1c80811170432n7f70f709gf8c68803ad414327@mail.gmail.com> <818767740811190244h53da590j864a3b4cb8b76e11@mail.gmail.com> Date: Mon, 1 Dec 2008 08:58:54 -0800 Message-ID: <7aa8716c0812010858y4b15058cvfe992045360ac6ab@mail.gmail.com> Subject: Re: Shindig Error Codes From: Louis Ryan To: shindig-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=001485e3b3b13da12f045cff208c X-Virus-Checked: Checked by ClamAV on apache.org --001485e3b3b13da12f045cff208c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit There was a somewhat drawn out discussion about this on the spec list and 409 was eventually agreed on despite its limitations. Until the spec changes thats what it should be. On Thu, Nov 27, 2008 at 10:25 PM, Ram Sharma wrote: > Any updates on this ? > > On Wed, Nov 19, 2008 at 4:14 PM, Chris Chabot wrote: > > > 509 is an 'bandwidth exceeded' error, which sounds a bit like what it > > represents, but not quite :) > > > > I'm ok with any of the options, but 409 sounds like a decent option to > me. > > > > Anyone have any input on what they think it should be? And lets then make > > the error codes the same between implementations :) > > > > -- Chris > > > > On Mon, Nov 17, 2008 at 1:32 PM, Astha Bhatnagar < > > asthabhatnagar2008@gmail.com> wrote: > > > > > Hi Shindig Dev, > > > > > > I have a question regarding to Shindig Error coodes. > > > > > > According to http://markmail.org/message/ahwnla6mnfkmswxr the Error > code > > > for > > > Limit Exceeded should be 409 as it can be used for both conflict and > > limit > > > exceeded. But In JsonRPC container js file it is 417 written for > checking > > > the Limit exceeding error. In Restful container js file there is a > place > > > holder for the same. In PHP Shindig its 509 for the same. > > > > > > Accroding to opensocial-and-gadgets-spec discussion it should be 409. > But > > > by > > > the definition 509 it seems to be more correct. However, 509 is not an > > > official status code(see > > > http://en.wikipedia.org/wiki/List_of_HTTP_status_codes). > > > My question is what should be the correct code 509 or 409 or or > > > 507(suggested in PHP comment) 417:P ? And shouldn't that code be > > > homegenously used across all the implementations? > > > > > > any suggestions or comments ? > > > > > > should I post this on opensocial-and-gadgets-spec list too as a > proposal > > ? > > > > > > Astha > > > > > > > > > -- > Ram Sharma > --001485e3b3b13da12f045cff208c--