Summary

Add HTTP proxy support to http-client

Metadata

Description

Figure out how to set up a local proxy to test this, and implement it.

Changes and comments

[2010-09-28 19:38:30 UTC] sjamaan changed status from new to accepted

[2010-09-28 19:42:09 UTC] sjamaan wrote:

Code can be cribbed from the Chicken 3 "http" egg's http-client

[2010-10-01 16:53:20 UTC] daishi wrote:

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.

[2010-10-09 22:03:48 UTC] sjamaan wrote:

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.

[2010-10-10 14:59:42 UTC] sjamaan wrote:

Proxy authentication was added in [[20759]|].

[2010-10-10 15:23:34 UTC] sjamaan wrote:

You'll need to update to [[20760]|], the proxy implementation caused something else to break (null paths when not using a proxy).

[2010-10-10 15:24:06 UTC] sjamaan wrote:

Make that [[20761]|], the other one is a documentation commit :)

[2010-11-02 16:58:08 UTC] sjamaan wrote:

Verified to work in a message to chicken-users

[2010-11-02 16:58:08 UTC] sjamaan changed status from accepted to closed

[2010-11-02 16:58:08 UTC] sjamaan set resolution to fixed

[2011-06-01 09:00:41 UTC] felix changed milestone from 4.7.0 to 4.8.0

[2011-06-01 09:00:41 UTC] felix wrote:

Milestone 4.7.0 deleted

[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0

[2012-09-24 21:47:48 UTC] felix wrote:

Milestone 4.8.0 deleted