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
In reply to Re^3: Understanding oAuth with Perl
by Anonymous Monk
in thread Understanding oAuth with Perl
by Gangabass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |