in reply to Re^2: Understanding oAuth with Perl
in thread Understanding oAuth with Perl
3xx is not a 2xx, so is_success of HTTP::Status fails.return $self->_error("$method on $request failed: ".$response->sta +tus_line) unless ( $response->is_success );
According to http://en.wikipedia.org/wiki/HTTP_302/http://en.wikipedia.org/wiki/HTTP_303, 303 is the appropriate response for a successful post, but most apps still use 302 erroneously
So, barring an actual error (follow the redirect), Net::Oauth::Simple needs a patch, yammer needs a patch
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Understanding oAuth with Perl
by Anonymous Monk on Mar 10, 2011 at 13:25 UTC |