Hi Sha,


I'm not sure about HTTPChannel, but Agent definitely supports HTTP/1.1. Supporting it shouldn't be too hard, but I don't know of any examples. Essentially, you just replace the proxy's client bits (which makes responses on behalf of the thing that's connecting to the proxy) with agent calls. I recommend just reading the code; it's what I did when I wrote lvh/minitrue.

hth
lvh