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

How to set proxy to http request? #10

Open
faywong opened this issue Feb 20, 2020 · 7 comments
Open

How to set proxy to http request? #10

faywong opened this issue Feb 20, 2020 · 7 comments

Comments

@faywong
Copy link

faywong commented Feb 20, 2020

No description provided.

@pinheadmz
Copy link
Member

Could you please provide any more details about your issue?
What are you trying to do, and with what application?

@ghost
Copy link

ghost commented Feb 20, 2020

There are a lot of reasons people may want to use a proxy. This applies to things not quite on the Internet like Tor and blocked things on the "Internet" like gist in China. Proxy support should be one of the most basic things to expect from a request library.

@pinheadmz
Copy link
Member

To be fair, this library is explicitly minimal, designed for use with bcoin and hsd. It is not really intended for general use.

@ghost
Copy link

ghost commented Feb 20, 2020

The thing with cryptocurrencies is that it tends to be a target for blocking or otherwise be interesting for being tunneled through. Doing proxies are, pardon me, but not hard:

If I would take a guess here I think our fella faywong is trying to grab the airdrop and then hit the Chinese GFW on GitHub. Same, bruv, same.

@pinheadmz
Copy link
Member

I see, are you able to git clone? You can download the airdrop data without using the hs-airdrop tool:

handshake-org/hs-airdrop#60 (comment)

@pinheadmz
Copy link
Member

Also worth noting that both bcoin and hsd full nodes do have proxy support. In fact we just fixed a bug: bcoin-org/bcoin#871

@ghost ghost mentioned this issue Feb 20, 2020
@faywong
Copy link
Author

faywong commented Feb 25, 2020

Could you please provide any more details about your issue?
What are you trying to do, and with what application?

I have used the hs-airdrop tool which a proxy is a must to access/continue in my situation(see my profile).

Also maybe another request library that easy to add a proxy is better for hs-airdrop(issue for the author of hs-airdrop).

Anyway, thanks for clarify.

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

Successfully merging a pull request may close this issue.

2 participants