#403 closed enhancement (fixed)
Add HTTP proxy support to http-client
Reported by: | sjamaan | Owned by: | sjamaan |
---|---|---|---|
Priority: | major | Milestone: | 4.9.0 |
Component: | unknown | Version: | 4.6.x |
Keywords: | proxy, http, http-client | Cc: | daishi |
Estimated difficulty: |
Description
Figure out how to set up a local proxy to test this, and implement it.
Change History (10)
comment:1 Changed 14 years ago by
Status: | new → accepted |
---|
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
I would disagree. The code I wrote for chicken3/http-client is a workaround.
It was OK for chicken3/http-client, because the entire code was rather hack.
Chicken4/http-client, as far as I understand, is cleaner and strict for the protocol, so careful reading of RFC docs might be needed.
comment:4 Changed 14 years ago by
Please test http-client trunk. I've added basic proxy support in [20749]
How to use it is documented in the wiki page for http-client in a section called "Proxy support". By default, it should "just work" (ie, it picks up commonly-used environment variables for proxies).
I hope to add authentication support for proxies soon.
comment:6 Changed 14 years ago by
You'll need to update to [20760], the proxy implementation caused something else to break (null paths when not using a proxy).
comment:8 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Verified to work in a message to chicken-users
Code can be cribbed from the Chicken 3 "http" egg's http-client