aboutsummaryrefslogtreecommitdiff
path: root/hash_script/node_modules/node-fetch/LIMITS.md
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-07-28 15:32:10 +1000
committerYuchen Pei <hi@ypei.me>2022-07-28 15:32:10 +1000
commit5b10a10743b8459f64fe83e0ff420f69da79c9a4 (patch)
treec61904d688247790181d4955a4074b8c94302c03 /hash_script/node_modules/node-fetch/LIMITS.md
parentb98cb70b1bcd5b211aaa5d2675f96416911c0647 (diff)
Moving scripts and utilities into a new utilities dir
Diffstat (limited to 'hash_script/node_modules/node-fetch/LIMITS.md')
-rw-r--r--hash_script/node_modules/node-fetch/LIMITS.md27
1 files changed, 0 insertions, 27 deletions
diff --git a/hash_script/node_modules/node-fetch/LIMITS.md b/hash_script/node_modules/node-fetch/LIMITS.md
deleted file mode 100644
index d0d41fc..0000000
--- a/hash_script/node_modules/node-fetch/LIMITS.md
+++ /dev/null
@@ -1,27 +0,0 @@
-
-Known differences
-=================
-
-*As of 1.x release*
-
-- Topics such as Cross-Origin, Content Security Policy, Mixed Content, Service Workers are ignored, given our server-side context.
-
-- URL input must be an absolute URL, using either `http` or `https` as scheme.
-
-- On the upside, there are no forbidden headers, and `res.url` contains the final url when following redirects.
-
-- For convenience, `res.body` is a transform stream, so decoding can be handled independently.
-
-- Similarly, `req.body` can either be a string, a buffer or a readable stream.
-
-- Also, you can handle rejected fetch requests through checking `err.type` and `err.code`.
-
-- Only support `res.text()`, `res.json()`, `res.buffer()` at the moment, until there are good use-cases for blob/arrayBuffer.
-
-- There is currently no built-in caching, as server-side caching varies by use-cases.
-
-- Current implementation lacks server-side cookie store, you will need to extract `Set-Cookie` headers manually.
-
-- If you are using `res.clone()` and writing an isomorphic app, note that stream on Node.js have a smaller internal buffer size (16Kb, aka `highWaterMark`) from client-side browsers (>1Mb, not consistent across browsers).
-
-- ES6 features such as `headers.entries()` are missing at the moment, but you can use `headers.raw()` to retrieve the raw headers object.