asdf-install unconditionally sends a GET request that begins like
GET http://some.site.example.com/foo/bar.tar.gz HTTP/1.0
The "http://..."; bit is "absoluteURI form".
However, RFC 2616 in section 5.1.2 says:
The absoluteURI form is REQUIRED when the request is being made to
a proxy. The proxy is requested to forward the request or service
it from a valid cache, and return the response. Note that the proxy
MAY forward the request on to another proxy or directly to the
The most common form of Request-URI is that used to identify a
resource on an origin server or gateway. In this case the absolute
path of the URI MUST be transmitted (see section 3.2.1, abs_path)
as the Request-URI [...]
While the RFC also says that HTTP/1.1 servers must accept the
absoluteURI form even if they're not acting as a proxy, in practice
there is at least one server that rejects the absoluteURI request from
asdf-install. (Try doing "(asdf-install:install :acl-compat)").
Attached is a patch that changes asdf-install to use the absoluteURI
form when talking to a proxy, but the absolute path of the URI
Zach Beane <xach@...> writes:
> Attached is a patch that changes asdf-install to use the absoluteURI
> form when talking to a proxy, but the absolute path of the URI
Thanks. I merged this into sbcl-0.9.6.19.