Ticket #403 (closed enhancement: fixed)

Opened 3 years ago

Last modified 8 months ago

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

Description

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

Change History

Changed 3 years ago by sjamaan

  • status changed from new to accepted

Changed 3 years ago by sjamaan

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

Changed 3 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.

Changed 3 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.

Changed 3 years ago by sjamaan

Proxy authentication was added in [20759].

Changed 3 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).

Changed 3 years ago by sjamaan

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

Changed 3 years ago by sjamaan

  • status changed from accepted to closed
  • resolution set to fixed

Verified to work in a message to chicken-users

Changed 2 years ago by felix

  • milestone changed from 4.7.0 to 4.8.0

Milestone 4.7.0 deleted

Changed 8 months ago by felix

  • milestone changed from 4.8.0 to 4.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.