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
orhttps
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 or a readable stream. -
Also, you can handle rejected fetch requests through checking
err.type
anderr.code
. -
Only support
res.text()
andres.json()
at the moment, until there are good use-cases for blob. -
There is currently no built-in caching, as server-side caching varies by use-cases.