Todo List
The class helps to reduce memory consumption by streaming large file uploads from disk, it also allows monitoring of upload progress (see request #7630)
HTTP_Request2_MultipartBody __construct( array $params, array $uploads, [bool $useBrackets = true])
string getBoundary( )
integer getLength( )
string read( integer $length)
void rewind( )
This allows reusing the same body in another request
string __toString( )
Note that it reads all file uploads into memory so it is a good idea not to use this method with large file uploads and rely on read() instead.