-
Notifications
You must be signed in to change notification settings - Fork 34
Added missing proxy fields #22
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
base: master
Are you sure you want to change the base?
Conversation
When using http.get() to request a file through a proxy, the following were missing from the previous implementation: * The `http://` protocol * The `headers` object indicating the target `Host` These additions are based on http://stackoverflow.com/a/6781592/1228454 and work for our company proxy (MS NTLM Proxy).
|
Worked for me too 👍 |
|
@dodo this would then resolve many issues on dependant projects: the symptom I'm seeing is ...The proxy server sends back a page saying "Sorry, I don't know how to get to that URL without a protocol" and this library tries to parse the error page as if it was |
|
Does this needs any more work before merging? |
|
This would also fix an issue I'm seeing on Circle CI: 😄 |
|
Hi there, any news on this? This issue is pretty annoying... :) |
|
+1 on this, it is a very annoying issue causing our travis-ci builds to fail. |
loganvolkers
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
When using http.get() to request a file through a proxy, the following were missing from the previous implementation:
http://protocolheadersobject indicating the targetHostThese additions are based on http://stackoverflow.com/a/6781592/1228454 and work for our company proxy (MS NTLM Proxy).
The previous implementation always silently failed, it simply exited the process right after the
fetching ...message.