From cdc8fa514471c23a17490a0437b808717044189b Mon Sep 17 00:00:00 2001 From: Matt Campbell Date: Thu, 6 Apr 2023 14:08:54 -0400 Subject: [PATCH] fix discrepancy between documentation and implementation for httprequest node --- .../@node-red/nodes/core/network/21-httprequest.html | 1 + .../@node-red/nodes/locales/en-US/network/21-httprequest.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.html b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.html index eb0aeaf47..25e8345f4 100644 --- a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.html +++ b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.html @@ -21,6 +21,7 @@ + diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/network/21-httprequest.html b/packages/node_modules/@node-red/nodes/locales/en-US/network/21-httprequest.html index b8d7fc048..a37c39acf 100644 --- a/packages/node_modules/@node-red/nodes/locales/en-US/network/21-httprequest.html +++ b/packages/node_modules/@node-red/nodes/locales/en-US/network/21-httprequest.html @@ -23,7 +23,7 @@
If not configured in the node, this optional property sets the url of the request.
method string
If not configured in the node, this optional property sets the HTTP method of the request. - Must be one of GET, PUT, POST, PATCH or DELETE.
+ Must be one of GET, PUT, POST, PATCH, DELETE or HEAD.
headers object
Sets the HTTP headers of the request. NOTE: Any headers set in the node configuration will overwrite any matching headers in msg.headers
cookies object