enyojs/node-XMLHttpRequest — pull request #1 by snowfix (2013-01-28 20:10:37+00:00)
Title: ENYO-1740: allow raw-data (Buffer) as a payload

- Some web services do not support chunked encoding (HTTP streaming)
with PUT. Is this case, the client must set the Content-Length
header. The code as it was only supported a String payload, because
Buffer.byteLength() only accepts a String as a parameter.
- New code accepts raw data. contained in a Buffer.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI