M
M
Mmx Symfony2021-03-19 16:03:53
proxy
Mmx Symfony, 2021-03-19 16:03:53

What HTTP headers are required when using Proxy with Basic authentication?

$curlClient     = new HttpBrowser(HttpClient::create());

            $response = $curlClient->request('GET', $url, [
                'headers' => [
                    'Proxy' => '10.10.10.10:3128',
                    'Proxy-Authorization' => 'Basic user:pass'
                ],
            ]);

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question