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

Issue 10393046: Better fix for redirects on media download. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by jcgregorio_google
Modified:
11 years, 2 months ago
CC:
google-api-python-client_googlegroups.com
Visibility:
Public.

Description

Better fix for redirects on media download. Uses the native redirect following of httplib2.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -17 lines) Patch
M apiclient/http.py View 3 chunks +2 lines, -6 lines 2 comments Download
M tests/test_http.py View 2 chunks +2 lines, -11 lines 1 comment Download

Messages

Total messages: 7
jcgregorio_google
11 years, 2 months ago (2013-06-19 00:43:02 UTC) #1
bossylobster
https://codereview.appspot.com/10393046/diff/1/apiclient/http.py File apiclient/http.py (right): https://codereview.appspot.com/10393046/diff/1/apiclient/http.py#newcode553 apiclient/http.py:553: if 'content-location' in resp and resp['content-location'] != self._uri: Why ...
11 years, 2 months ago (2013-06-19 00:47:31 UTC) #2
yarbrough
https://codereview.appspot.com/10393046/diff/1/tests/test_http.py File tests/test_http.py (right): https://codereview.appspot.com/10393046/diff/1/tests/test_http.py#newcode372 tests/test_http.py:372: ({'status': '200', I think this should still be a ...
11 years, 2 months ago (2013-06-19 00:49:43 UTC) #3
jcgregorio_google
https://codereview.appspot.com/10393046/diff/1/apiclient/http.py File apiclient/http.py (right): https://codereview.appspot.com/10393046/diff/1/apiclient/http.py#newcode553 apiclient/http.py:553: if 'content-location' in resp and resp['content-location'] != self._uri: No, ...
11 years, 2 months ago (2013-06-19 13:55:10 UTC) #4
dhermes
LGTM, unless yarbrough has some remaining feedback (which he did)
11 years, 2 months ago (2013-06-19 15:26:42 UTC) #5
yarbrough
Ah, I see. Nevermind, LGTM!
11 years, 2 months ago (2013-06-19 16:40:31 UTC) #6
jcgregorio_google
11 years, 2 months ago (2013-06-19 17:25:43 UTC) #7
On 2013/06/19 16:40:31, yarbrough wrote:
> Ah, I see. Nevermind, LGTM!

Committed in
https://code.google.com/p/google-api-python-client/source/detail?r=1ab344e0a3...
Sign in to reply to this message.

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