mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 07:31:07 +01:00
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:
@@ -28,14 +28,14 @@
|
||||
|
||||
<div id="form-reqBody-http-in-controller" class="form-row hide" style="display: flex;">
|
||||
<label> </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>
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user