Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Using basic httplib call to check if on GCE. #293

Merged
merged 1 commit into from
Aug 31, 2015

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Aug 28, 2015

This avoids the potential issue of urllib detecting a proxy and changing the actual request underneath our code. The basic httplib library does not have any proxy detection, so this is not even possible there.

Fixes #114.


Also closes #120 (a somewhat old PR)

This avoids the potential issue of urllib detecting a proxy
and changing the actual request underneath our code. The
basic httplib library does not have any proxy detection, so
this is not even possible there.

Fixes googleapis#114.
nathanielmanistaatgoogle added a commit that referenced this pull request Aug 31, 2015
Use basic httplib call to check if on GCE.
@nathanielmanistaatgoogle nathanielmanistaatgoogle merged commit 5dda032 into googleapis:master Aug 31, 2015
@dhermes dhermes deleted the fix-114 branch August 31, 2015 22:39
@dhermes dhermes mentioned this pull request Sep 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proxies should never be used when querying GCE metadata server
3 participants