BLUE
PHP 7.4.33
Path:
/usr/share/nodejs/http2-wrapper/source/proxies
Run
Logout
Edit File
Size: 672 B
Close
/usr/share/nodejs/http2-wrapper/source/proxies/initialize.js
Text
Base64
'use strict'; // See https://github.com/facebook/jest/issues/2549 // eslint-disable-next-line node/prefer-global/url const {URL} = require('url'); const checkType = require('../utils/check-type.js'); module.exports = (self, proxyOptions) => { checkType('proxyOptions', proxyOptions, ['object']); checkType('proxyOptions.headers', proxyOptions.headers, ['object', 'undefined']); checkType('proxyOptions.raw', proxyOptions.raw, ['boolean', 'undefined']); checkType('proxyOptions.url', proxyOptions.url, [URL, 'string']); const url = new URL(proxyOptions.url); self.proxyOptions = { raw: true, ...proxyOptions, headers: {...proxyOptions.headers}, url }; };
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).