4xx Client Error
You need to authenticate with the proxy server first before it will forward your request to the destination.
Use 407 when a proxy requires authentication before it will forward the request.
GET https://api.example.test/external-resource
# Headers
Host: example.com407 Proxy Authentication Required
# Headers
Proxy-Authenticate: Basic realm="corporate-proxy"Must provide credentials to corporate proxy before accessing external sites