http://codereview.appspot.com/63213/diff/1/3 File java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java (right): http://codereview.appspot.com/63213/diff/1/3#newcode858 Line 858: if (response.getHttpStatusCode() != 401 && response.getHttpStatusCode() != 403) ...
16 years, 3 months ago
(2009-06-12 23:18:18 UTC)
#1
http://codereview.appspot.com/63213/diff/1/3
File
java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java
(right):
http://codereview.appspot.com/63213/diff/1/3#newcode858
Line 858: if (response.getHttpStatusCode() != 401 &&
response.getHttpStatusCode() != 403) {
It would be nice if this used the mnemonic constants on HTTP response so that we
don't have to try to remember what a 401 stands for.
Issue 63213: HTTP 400 should not discard OAuth tokens
Created 16 years, 3 months ago by beaton
Modified 16 years, 3 months ago
Reviewers: etnu00, shindig.remailer_gmail.com
Base URL: https://svn.apache.org/repos/asf/incubator/shindig/trunk/
Comments: 1