[erlang-patches] [PATCH] httpc module - allow streaming of bodies for PUT and POST requests

Filipe David Manana <>
Tue Oct 5 01:38:40 CEST 2010


I just made another change to that patch so that it allows as well for
chunking (chunked transfer-encoding) the results of the streaming
function. This is specially useful when the client doesn't know in
advance the length of the payload.

git fetch git://github.com/fdmanana/otp.git httpc_upload_body_streaming

Example given in the comment of the following commit:



2010/9/27 Björn Gustavsson <>:
> On Sun, Sep 26, 2010 at 1:04 PM, Filipe David Manana
> <> wrote:
>> Hi,
>> The following patch, as a github commit, allows for streaming of HTTP PUT
>> and POST requests.
>> http://github.com/fdmanana/otp/commit/2d0e66d9d41c813b6fb09179bdcd29910bf0d296
> Thanks! Will include in 'pu'.
> For your next submission, please provide the command needed to fetch
> your branch.
> For example:
> git fetch git://github.com/fdmanana/otp.git httpc_upload_body_streaming
> --
> Björn Gustavsson, Erlang/OTP, Ericsson AB
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:

Filipe David Manana,

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

More information about the erlang-patches mailing list