Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cc96bb commit ada9e00Copy full SHA for ada9e00
packages/http-client/src/index.ts
@@ -726,7 +726,9 @@ export class HttpClient {
726
uri: proxyUrl.href,
727
pipelining: !this._keepAlive ? 0 : 1,
728
...((proxyUrl.username || proxyUrl.password) && {
729
- token: `${proxyUrl.username}:${proxyUrl.password}`
+ token: `Basic ${Buffer.from(
730
+ `${proxyUrl.username}:${proxyUrl.password}`
731
+ ).toString('base64')}`
732
})
733
734
this._proxyAgentDispatcher = proxyAgent
0 commit comments