kriswallsmith/Buzz — comment on commit 1696dc2ca990c8918994c8413b08d18410d58c80
File:  line 0
By ratibus:

I think that is a shame you don't use Curl features on file uploads for example. This commit will blow memory up with large files.

I would delegate the build of the HTTP Request to Client objects, providing them Request message with getFields() and getFiles() methods.

This way each client decides how it builds the Request content depending on its own features (native file uploads for Curl for example).
Much of the stuff FormRequest do is useless with Curl (flattenArray for example)