X7ROOT File Manager
Current Path:
/lib/node_modules/npm/node_modules/uri-js/dist/esnext/schemes
lib
/
node_modules
/
npm
/
node_modules
/
uri-js
/
dist
/
esnext
/
schemes
/
📁
..
📄
http.d.ts
(108 B)
📄
http.js
(959 B)
📄
http.js.map
(841 B)
📄
https.d.ts
(108 B)
📄
https.js
(212 B)
📄
https.js.map
(312 B)
📄
mailto.d.ts
(359 B)
📄
mailto.js
(7.56 KB)
📄
mailto.js.map
(7.04 KB)
📄
urn-uuid.d.ts
(279 B)
📄
urn-uuid.js
(868 B)
📄
urn-uuid.js.map
(832 B)
📄
urn.d.ts
(324 B)
📄
urn.js
(2 KB)
📄
urn.js.map
(1.89 KB)
📄
ws.d.ts
(228 B)
📄
ws.js
(1.62 KB)
📄
ws.js.map
(1.57 KB)
📄
wss.d.ts
(108 B)
📄
wss.js
(198 B)
📄
wss.js.map
(307 B)
Editing: http.js
const handler = { scheme: "http", domainHost: true, parse: function (components, options) { //report missing host if (!components.host) { components.error = components.error || "HTTP URIs must have a host."; } return components; }, serialize: function (components, options) { const secure = String(components.scheme).toLowerCase() === "https"; //normalize the default port if (components.port === (secure ? 443 : 80) || components.port === "") { components.port = undefined; } //normalize the empty path if (!components.path) { components.path = "/"; } //NOTE: We do not parse query strings for HTTP URIs //as WWW Form Url Encoded query strings are part of the HTML4+ spec, //and not the HTTP spec. return components; } }; export default handler; //# sourceMappingURL=http.js.map
Upload File
Create Folder