Why don't APT connect to HTTP proxy using HTTP
I want to use APT with an HTTP proxy, so I've exported the
http_proxy variable with the address of my server
Now, my server expects a HTTP
CONNECT request afterwards it starts proxying TCP traffic to the specified host.
However, Wireshark shows that APT doesn't issue HTTP
CONNECT requests, but instead sends
HTTP GET requests directly to the proxy server.
Why doesn't APT send HTTP
CONNECT requests? Isn't that how a HTTP proxy is supposed to work?