Files
Filipe Brandenburger 4e671cc366 Show the full URL in download error messages
Downloads set req.URL.Opaque to keep "+" percent-encoded in the path.
URL.String() prints "scheme:opaque" and drops the host, so every error
from the http client showed a URL such as "https:/repos/debian/...",
lacking a host name. The request itself was correct, but the message
sent me to look for a malformed URL.

Set req.URL.RawPath instead. The escaping still reaches the wire through
EscapedPath(), and String() keeps the scheme and the host.

The proxy special case is no longer necessary. Requests through a proxy
now get the same "+" escaping as direct requests.
2026-11-01 00:14:42 +01:00
..
2022-01-27 09:30:14 +01:00
2026-04-26 17:41:12 +02:00
2025-08-20 19:41:26 +02:00
2015-02-22 14:29:09 +03:00