mirror of https://github.com/node-red/node-red.git
Fixes #2216 This was broken when we switched from media-typer to content-type modules for parsing the content-type header. The content-type header can handle the field with parameters, but does not do the type/sub-type parsing that media-typer does. Our code relied on that extra bit of parsing to correctly identify if the content should be parsed to String or kept as a buffer. The fix restores the use of media-typer, but using the result of the content-type module to make sure it valid |
||
---|---|---|
.. | ||
lib | ||
05-tls.html | ||
05-tls.js | ||
06-httpproxy.html | ||
06-httpproxy.js | ||
10-mqtt.html | ||
10-mqtt.js | ||
21-httpin.html | ||
21-httpin.js | ||
21-httprequest.html | ||
21-httprequest.js | ||
22-websocket.html | ||
22-websocket.js | ||
23-watch.html | ||
23-watch.js | ||
31-tcpin.html | ||
31-tcpin.js | ||
32-udp.html | ||
32-udp.js |