1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/packages/node_modules/@node-red/nodes/core
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
..
core Merge pull request #2156 from bernardobelchior/patch-1 2019-05-17 10:45:36 +01:00
hardware add fixes for core nodes 2018-11-30 13:02:15 +00:00
io Fix parsing of content-type header 2019-06-20 21:15:20 +01:00
logic Fix join node reset issue with merging objects 2019-06-20 19:47:53 +01:00
parsers ensure JSON node handles single booleans and numbers 2019-02-15 17:07:11 +00:00
storage Fix encoding menu in file node 2019-04-02 21:35:41 +09:00