Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(68)

Issue 63213: HTTP 400 should not discard OAuth tokens

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 3 months ago by beaton
Modified:
16 years, 3 months ago
Reviewers:
shindig.remailer, etnu00
Base URL:
https://svn.apache.org/repos/asf/incubator/shindig/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -3 lines) Patch
M java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java View 1 chunk +2 lines, -3 lines 1 comment Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/testing/FakeOAuthServiceProvider.java View 3 chunks +10 lines, -0 lines 0 comments Download
M java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth/OAuthRequestTest.java View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 1
etnu00
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.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b