aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/uri-js/dist/esnext/schemes/http.js
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/uri-js/dist/esnext/schemes/http.js')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/uri-js/dist/esnext/schemes/http.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/uri-js/dist/esnext/schemes/http.js b/sandbox/testAppNevena/Front/node_modules/uri-js/dist/esnext/schemes/http.js
deleted file mode 100644
index 6abf0fe6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/uri-js/dist/esnext/schemes/http.js
+++ /dev/null
@@ -1,28 +0,0 @@
-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 \ No newline at end of file