BLUE
PHP 7.4.33
Path:
/usr/share/nodejs/http2-wrapper/source/proxies
Run
Logout
Edit File
Size: 334 B
Close
/usr/share/nodejs/http2-wrapper/source/proxies/get-auth-headers.js
Text
Base64
'use strict'; module.exports = self => { const {username, password} = self.proxyOptions.url; if (username || password) { const data = `${username}:${password}`; const authorization = `Basic ${Buffer.from(data).toString('base64')}`; return { 'proxy-authorization': authorization, authorization }; } return {}; };
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 7
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
get-auth-headers.js
334 B
lrw-r--r--
2021-11-20 15:22:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
h1-over-h2.js
2.04 KB
lrw-r--r--
2021-11-20 15:22:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
h2-over-h1.js
1.16 KB
lrw-r--r--
2021-11-20 15:22:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
h2-over-h2.js
849 B
lrw-r--r--
2021-11-20 15:22:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
h2-over-hx.js
1023 B
lrw-r--r--
2021-11-20 15:22:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
initialize.js
672 B
lrw-r--r--
2021-11-20 15:22:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
unexpected-status-code-error.js
253 B
lrw-r--r--
2021-11-20 15:22:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).