bartbutenaers / node-red-contrib-multipart-stream-decoder

Node-Red node for decoding multipart streams over http
Apache License 2.0
9 stars 2 forks source link

Feature request: decode only from payload (without making an http request) #16

Open sgofferj opened 3 months ago

sgofferj commented 3 months ago

The decode node doesn't work if the URL is not filled. My use case is a Dahua NVR which can be configured to make a POST request to a URL in case of an alarm. This POST is multipart/x-mixed-replace and contains a text/plain and an image/jpeg object. I have set up an HTTP in node but I can't decode the multipart POST with your node because it is designed to make an HTTP request itself. It would be nice to have a multipart decoder which just decodes whatever buffer is piped into it and then outputs the objects.