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

Issue 104700043: oauth2: avoid using http.DefaultTransport

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by jbd
Modified:
11 years, 3 months ago
Reviewers:
adg, proppy
Visibility:
Public.

Description

https://github.com/golang/oauth2/issues/10

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -30 lines) Patch
M google/appengine.go View 1 2 3 2 chunks +15 lines, -3 lines 2 comments Download
M google/appenginevm.go View 2 2 chunks +2 lines, -1 line 0 comments Download
M google/google.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M jwt.go View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M oauth2.go View 1 2 4 chunks +3 lines, -7 lines 0 comments Download
M oauth2_test.go View 4 chunks +12 lines, -6 lines 0 comments Download
M transport.go View 3 chunks +6 lines, -5 lines 0 comments Download
M transport_test.go View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15
jbd
11 years, 3 months ago (2014-07-11 18:00:15 UTC) #1
jbd
https://codereview.appspot.com/104700043/diff/1/google/appenginevm.go File google/appenginevm.go (right): https://codereview.appspot.com/104700043/diff/1/google/appenginevm.go#newcode29 google/appenginevm.go:29: return oauth2.NewAuthorizedTransport(http.DefaultTransport, c, nil) Should I be depending on ...
11 years, 3 months ago (2014-07-11 18:02:36 UTC) #2
jbd
proppy, Can I have a LGTM? https://codereview.appspot.com/104700043/diff/1/google/appenginevm.go File google/appenginevm.go (right): https://codereview.appspot.com/104700043/diff/1/google/appenginevm.go#newcode29 google/appenginevm.go:29: return oauth2.NewAuthorizedTransport(http.DefaultTransport, c, ...
11 years, 3 months ago (2014-07-14 17:06:42 UTC) #3
proppy
can you cross-link the github issue in the description? https://codereview.appspot.com/104700043/diff/20001/google/appenginevm.go File google/appenginevm.go (right): https://codereview.appspot.com/104700043/diff/20001/google/appenginevm.go#newcode11 google/appenginevm.go:11: ...
11 years, 3 months ago (2014-07-14 17:19:59 UTC) #4
jbd
Reverted back the urlfetcher changes for appenginevm. https://codereview.appspot.com/104700043/diff/20001/google/appenginevm.go File google/appenginevm.go (right): https://codereview.appspot.com/104700043/diff/20001/google/appenginevm.go#newcode11 google/appenginevm.go:11: "google.golang.org/appengine/urlfetch" On ...
11 years, 3 months ago (2014-07-14 17:27:46 UTC) #5
proppy
https://codereview.appspot.com/104700043/diff/40001/google/appengine.go File google/appengine.go (right): https://codereview.appspot.com/104700043/diff/40001/google/appengine.go#newcode29 google/appengine.go:29: func (c *AppEngineConfig) NewTransport() oauth2.Transport { you might give ...
11 years, 3 months ago (2014-07-14 17:35:19 UTC) #6
jbd
https://codereview.appspot.com/104700043/diff/40001/google/appengine.go File google/appengine.go (right): https://codereview.appspot.com/104700043/diff/40001/google/appengine.go#newcode29 google/appengine.go:29: func (c *AppEngineConfig) NewTransport() oauth2.Transport { On 2014/07/14 17:35:19, ...
11 years, 3 months ago (2014-07-14 17:44:59 UTC) #7
proppy
https://codereview.appspot.com/104700043/diff/40001/google/appengine.go File google/appengine.go (right): https://codereview.appspot.com/104700043/diff/40001/google/appengine.go#newcode29 google/appengine.go:29: func (c *AppEngineConfig) NewTransport() oauth2.Transport { On 2014/07/14 17:44:58, ...
11 years, 3 months ago (2014-07-14 17:48:42 UTC) #8
jbd
PTAL, I exported a transport: AppEngineConfig.Transport
11 years, 3 months ago (2014-07-14 18:02:33 UTC) #9
proppy
On 2014/07/14 17:48:42, proppy wrote: > https://codereview.appspot.com/104700043/diff/40001/google/appengine.go > File google/appengine.go (right): > > https://codereview.appspot.com/104700043/diff/40001/google/appengine.go#newcode29 > ...
11 years, 3 months ago (2014-07-14 18:14:22 UTC) #10
proppy
https://codereview.appspot.com/104700043/diff/60001/google/appengine.go File google/appengine.go (right): https://codereview.appspot.com/104700043/diff/60001/google/appengine.go#newcode46 google/appengine.go:46: token, expiry, err := appengine.AccessToken(c.context, strings.Join(c.scopes, " ")) maybe ...
11 years, 3 months ago (2014-07-14 18:14:34 UTC) #11
jbd
https://codereview.appspot.com/104700043/diff/60001/google/appengine.go File google/appengine.go (right): https://codereview.appspot.com/104700043/diff/60001/google/appengine.go#newcode46 google/appengine.go:46: token, expiry, err := appengine.AccessToken(c.context, strings.Join(c.scopes, " ")) On ...
11 years, 3 months ago (2014-07-14 20:00:04 UTC) #12
jbd
I'm merging this, additional improvements can wait another CL.
11 years, 3 months ago (2014-07-14 21:16:32 UTC) #13
jbd
Submitted.
11 years, 3 months ago (2014-07-14 22:54:12 UTC) #14
adg
11 years, 3 months ago (2014-07-14 23:45:12 UTC) #15
LGTM
Sign in to reply to this message.

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