Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RefreshResumableUploadState uses generic httplib2 UserAgent #45

Open
thobrla opened this issue Aug 14, 2015 · 2 comments
Open

RefreshResumableUploadState uses generic httplib2 UserAgent #45

thobrla opened this issue Aug 14, 2015 · 2 comments

Comments

@thobrla
Copy link
Contributor

thobrla commented Aug 14, 2015

Upload and Download classes support passing additional_headers which can include a user-agent, and base_api.py populates one if it's not supplied by the client.

But RefreshResumableUploadState just creates a generic http request.

This typically makes these refresh requests appear as if they are coming from a different UserAgent than the rest of the Upload.

@craigcitro
Copy link
Contributor

👍 should be an easy PR to add in?

@thobrla
Copy link
Contributor Author

thobrla commented Aug 17, 2015

Yes, pretty straightforward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants