From 952901fe64c1004f96771f5f89a1206827e7454b Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Mon, 3 Nov 2014 23:15:42 +0100 Subject: [PATCH] updated CHANGELOG --- CHANGELOG | 7 +++++++ Documentation/Books/Users/NewFeatures/NewFeatures23.mdpp | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 7f8ceb64ed..ece283765d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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: diff --git a/Documentation/Books/Users/NewFeatures/NewFeatures23.mdpp b/Documentation/Books/Users/NewFeatures/NewFeatures23.mdpp index ffe168de90..4bcf28139d 100644 --- a/Documentation/Books/Users/NewFeatures/NewFeatures23.mdpp +++ b/Documentation/Books/Users/NewFeatures/NewFeatures23.mdpp @@ -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