No proxy information in case of proxy with HTTP auth
@carlosgc
Submitted by Carlos Garcia Campos Assigned to libsoup-maint@gnome.bugs
Link to original bug (#786147)
Description
The authenticate signal is emitted when the proxy requires creadentials, but the SoupMessage and the SoupAuth passed to the signal contain the uri and host of the original request, not the proxy one. This means that, for example WebKitGTK shows the HTTP auth dialog claiming that the URL foo is password protected, when that's not true, because it's the proxy the one using HTTP auth not the request URL. Maybe we could extend SoupAuth to return proxy information, or fix it to use the proxy host and also add soup_auth_get_port()