You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Louis Ryan <lr...@google.com> on 2008/12/01 17:58:54 UTC
Re: Shindig Error Codes
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 <ra...@gmail.com> wrote:
> Any updates on this ?
>
> On Wed, Nov 19, 2008 at 4:14 PM, Chris Chabot <ch...@google.com> 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
>
Re: Shindig Error Codes
Posted by Chris Chabot <ch...@google.com>.
i've changed the php-shindig response error to 409 per Louis's feedback, so
we're consistent now
On Mon, Dec 1, 2008 at 5:58 PM, Louis Ryan <lr...@google.com> wrote:
> 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 <ra...@gmail.com>
> wrote:
>
> > Any updates on this ?
> >
> > On Wed, Nov 19, 2008 at 4:14 PM, Chris Chabot <ch...@google.com>
> 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
> >
>