Hi Sean, This seems wrong to me since, as John noted, all 2xx response codes indicate success. Will this be changed in this Java library?
Cheers, Hubert On Sat, Apr 4, 2009 at 6:26 AM, Sean Sullivan <[email protected]> wrote: > > Currently, the OAuth Java library throws an exception when the HTTP response > status code is not equal to 200 > @seeĀ http://oauth.googlecode.com/svn/code/java/core/src/main/java/net/oauth/client/OAuthClient.java > @see http://code.google.com/p/oauth/issues/detail?id=86 > Sean > > On Fri, Apr 3, 2009 at 9:59 AM, Martin Atkins <[email protected]> > wrote: >> >> Hubert Le Van Gong wrote: >> > How many implementations out there support both 200 and 201 >> > as valid responses from the Service Provider (when returning the access >> > token). >> > From a RESTful point of view I'm tempted to use 201 but I'm unsure how >> > consumer-side implementations behave. >> > >> >> In the absense of any evidence to the contrary, I would assume that all >> implementations are broken since that's a safe thing to assume. >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/oauth?hl=en -~----------~----~----~----~------~----~------~--~---
