Proxy option not working
- Dominant language
- Elixir
- Stars
- 2.3k
- Forks
- 349
- PR merge metrics
- No merged PRs in 30d
Description
I have this curl request
`curl -x "http://proxy-server.com:8001" -k "https://httpbin.org/ip"`
The curl request is actually going through the proxy server and I'm getting at each hit a new ip address.
But when I try with HTTPoison it's not working as expected.
I tried these codes
`HTTPoison.get!("https://www.httpbin.org/ip", [], [proxy: {"http://proxy-server.com"}])`
`HTTPoison.get!("https://www.httpbin.org/ip", [], [{:proxy, "http://proxy-server.com"}])`
What am I doing wrong ?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the curl request and the two HTTPoison.get! calls shown in the issue, comparing proxy handling for the HTTPS httpbin.org/ip request. Trace the HTTPoison proxy option behavior and verify completion when the request uses the proxy and produces the expected proxy-visible IP.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100