1
0
Fork 0

updated CHANGELOG

This commit is contained in:
Jan Steemann 2014-11-03 23:15:42 +01:00
parent 87e0bf6ed2
commit 952901fe64
2 changed files with 11 additions and 0 deletions

View File

@ -68,6 +68,13 @@ v2.3.0 (XXXX-XX-XX)
* added basic support for handling binary data in Foxx
Requests with binary payload can be processed in Foxx applications by
using the new method `res.rawBodyBuffer()`. This will return the unparsed request
body as a Buffer object.
There is now also the method `req.requestParts()` available in Foxx to retrieve
the individual components of a multipart HTTP request.
Buffer objects can now be used when setting the response body of any Foxx action.
Additionally, `res.send()` has been added as a convenience method for returning
strings, JSON objects or buffers from a Foxx action:

View File

@ -160,6 +160,10 @@ This allows Foxx actions to return binary data.
Requests with binary payload can be processed in Foxx applications by
using the new method `res.rawBodyBuffer()`. This will return the unparsed request
body as a Buffer object.
There is now also the method `req.requestParts()` available in Foxx to retrieve
the individual components of a multipart HTTP request. That can be used for example
to process file uploads.
Additionally, the `res.send()` method has been added as a convenience method for