code: function createMultipartBuffer(boundary, size) {
    var head =
          '--'+boundary+'\r\n'
        + 'content-disposition: form-data; name="field1"\r\n'
        + '\r\n'
      , tail = '\r\n--'+boundary+'--\r\n'
      , buffer = Buffer.allocUnsafe(size);
  
    buffer.write(head, 'ascii', 0);
    buffer.write(tail, 'ascii', buffer.length - tail.length);
    return buffer;
  }
docs: assert.equal(nparsed, buffer.length);