edicl/drakma — pull request #17 by orivej (2012-09-12 16:10:50+00:00)
Title: FAKE-PROXY keyword in HTTP-REQUEST.

If FAKE-PROXY is T, the server in PROXY is asked for a relative URI rather than an absolute URI. This allows sending requests with mismatched Host header (host part of the URI) and actual destination.

I added this keyword because I had to send requests with particular host header to arbitrary servers. Reusing PROXY for this purpose is rather fortunate, albeit nonconventional; for one thing, cookies are handled properly. Another one is that such a use is not compatible with real proxies anyway.