File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
src/content/compatibility-flags Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,19 @@ disable_flag: "disable_nodejs_http_modules"
1212---
1313
1414The ` enable_nodejs_http_modules ` flag enables the availability of Node.js
15- ` node:http ` and ` node:https ` modules in Workers.
15+ ` node:http ` and ` node:https ` modules in Workers (client APIS only) .
1616
1717The ` disable_nodejs_http_modules ` flag disables the availability of these
1818modules.
19+
20+ This enables compatibility with Node.js libraries and existing code that
21+ use the standard node: http and node: https APIs for making HTTP requests.
22+ The available functionality includes:
23+
24+ * ` http.request() ` and ` https.request() ` for making HTTP/HTTPS requests
25+ * ` http.get() ` and ` https.get() ` for making GET requests
26+ * Request and response objects with standard Node.js APIs
27+ * Support for standard HTTP methods, headers, and options
28+
29+ See the [ Node.js documentation] ( https://nodejs.org/docs/latest/api/http.html )
30+ for more details about the Node.js APIs.
You can’t perform that action at this time.
0 commit comments