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
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
..
editor-api Bump all dependencies 2019-04-29 08:42:37 +01:00
editor-client Copy data-i18n attribute on TypedInput 2019-06-19 10:10:17 +01:00
nodes Fix parsing of content-type header 2019-06-20 21:15:20 +01:00
registry Bump all dependencies 2019-04-29 08:42:37 +01:00
runtime Update index.js 2019-05-18 17:04:56 +08:00
util Bump all dependencies 2019-04-29 08:42:37 +01:00