Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#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 sjamaan

Status: newaccepted

comment:2 Changed 14 years ago by sjamaan

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

comment:3 Changed 14 years ago by daishi

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 sjamaan

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:5 Changed 14 years ago by sjamaan

Proxy authentication was added in [20759].

comment:6 Changed 14 years ago by sjamaan

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

comment:7 Changed 14 years ago by sjamaan

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

comment:8 Changed 14 years ago by sjamaan

Resolution: fixed
Status: acceptedclosed

Verified to work in a message to chicken-users

comment:9 Changed 14 years ago by felix winkelmann

Milestone: 4.7.04.8.0

Milestone 4.7.0 deleted

comment:10 Changed 12 years ago by felix winkelmann

Milestone: 4.8.04.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.