I may have mistakenly sent my post to the wrong list, so here we
go again :
-------- Message transféré --------
De: Olivier Berger <olivier...@it-sudparis.eu>
À: OAuth <oa...@googlegroups.com>
Sujet: [PHP] HTTP error codes mandated by the specs and library's
OAuthException
Date: Mon, 28 Mar 2011 01:09:48 -0700 (PDT)
Hi.
We're using the OAuth PHP library (developing a FusionForge OAuth
provider plugin), and I've noticed there seems to be no handling of
error conditions, but through strings passed to OAuthException
triggered in case of errors, that'd allow to easily handle them and
return 400 or 401 HTTP return codes (as mandated by specs 1.0).
I'm tempted to introduce such a fix through patches, but if someone
has already done so, I'd be curious to know ;)
Thanks in advance.
Best regards,
--
Olivier BERGER <olivier...@it-sudparis.eu>
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)