1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
Nick O'Leary e315325d91
Fix parsing of content-type header
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
2019-06-20 21:15:20 +01:00
..
2019-06-20 21:15:20 +01:00
2019-05-04 09:47:29 +02:00
2018-10-25 11:18:13 +01:00
2018-08-04 22:23:06 +01:00
2018-08-17 22:10:54 +01:00
2018-08-21 13:57:59 +01:00
2018-08-21 13:43:11 +01:00

@node-red/nodes

Node-RED core nodes module.

This provides all of the core Node-RED nodes.

Source

The main Node-RED modules are maintained as a monorepo on GitHub.