Merge pull request #5188 from node-red/http-body-parser-update

Follow-up tweaks to HTTP In skip body parser
This commit is contained in:
Nick O'Leary
2025-06-25 16:49:14 +01:00
committed by GitHub
3 changed files with 10 additions and 9 deletions

View File

@@ -28,14 +28,14 @@
<div id="form-reqBody-http-in-controller" class="form-row hide" style="display: flex;">
<label>&nbsp;</label>
<div style="display: flex; margin-left: 5px; flex-direction: column-reverse; gap:35%;">
<div id="form-row-http-in-upload" class="hide" style="display: flex;">
<input type="checkbox" id="node-input-upload" style="margin-right: 5%; margin-bottom: 5%;">
<label for="node-input-upload" style="text-wrap: nowrap;" data-i18n="httpin.label.upload"></label>
<div style="display: flex; margin-left: 5px; flex-direction: column-reverse; gap: 10px; justify-content: center;">
<div id="form-row-http-in-upload" class="hide" style="display: flex; gap: 10px">
<input type="checkbox" id="node-input-upload" style="margin: 0px;">
<label for="node-input-upload" style="text-wrap: nowrap; margin-bottom: 0;" data-i18n="httpin.label.upload"></label>
</div>
<div id="form-row-http-in-parsing" class="hide" style="display: flex;">
<input type="checkbox" id="node-input-skipBodyParsing" style="margin-right: 5%; margin-bottom: 5%;">
<label for="node-input-skipBodyParsing" style="text-wrap: nowrap;" data-i18n="httpin.label.parsing"></label>
<div id="form-row-http-in-parsing" class="hide" style="display: flex; gap: 10px">
<input type="checkbox" id="node-input-skipBodyParsing" style="margin: 0px;">
<label for="node-input-skipBodyParsing" style="text-wrap: nowrap; margin-bottom: 0;" data-i18n="httpin.label.parsing"></label>
</div>
</div>
</div>

View File

@@ -515,8 +515,8 @@
"url": "URL",
"doc": "Docs",
"return": "Return",
"upload": "Accept file uploads?",
"parsing": "Skip body parsing?",
"upload": "Accept file uploads",
"parsing": "Do not parse request body",
"status": "Status code",
"headers": "Headers",
"other": "other",

View File

@@ -50,6 +50,7 @@
<p>If the content type of the request can be determined, the body will be parsed to
any appropriate type. For example, <code>application/json</code> will be parsed to
its JavaScript object representation.</p>
<p>The node can be configured to not parse the body, in which case it will be provided as a Buffer object.</p>
<p><b>Note:</b> this node does not send any response to the request. The flow
must include an HTTP Response node to complete the request.</p>
</script>