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
2017-06-23 21:49:35 +01:00
2018-09-28 16:21:49 +01:00
2019-02-28 22:21:22 +00:00
2019-04-05 13:46:25 +01:00
2016-04-07 21:51:12 +01:00
2019-02-28 22:21:22 +00:00
2019-01-28 14:40:42 +00:00
2018-10-07 11:45:43 +01:00

Node-RED

http://nodered.org

Build Status Coverage Status

A visual tool for wiring the Internet of Things.

Node-RED: A visual tool for wiring the Internet of Things

Quick Start

Check out http://nodered.org/docs/getting-started/ for full instructions on getting started.

  1. sudo npm install -g --unsafe-perm node-red
  2. node-red
  3. Open http://localhost:1880

Getting Help

More documentation can be found here.

For further help, or general discussion, please use the Node-RED Forum or slack team.

Developers

If you want to run the latest code from git, here's how to get started:

  1. Clone the code:

     git clone https://github.com/node-red/node-red.git
     cd node-red
    
  2. Install the node-red dependencies

     npm install
    
  3. Build the code

     npm run build
    
  4. Run

     npm start
    

Contributing

Before raising a pull-request, please read our contributing guide.

This project adheres to the Contributor Covenant 1.4. By participating, you are expected to uphold this code. Please report unacceptable behavior to any of the project's core team at team@nodered.org.

Authors

Node-RED is a project of the JS Foundation.

It was created by IBM Emerging Technology.

Copyright JS Foundation and other contributors, http://js.foundation under the Apache 2.0 license.

Description
No description provided
Readme
Languages
JavaScript 99.7%
HTML 0.3%