Fixes a bug caused by a payload (HTTP body) that is large enough that Cowboy streams it (i.e., when cowboy_req:read_body/2 is called multiple times). This is in line with the example given by Cowboy here
Without this fix, only the last chunk of the stream is returned as the body of the request.
Fixes a bug caused by a payload (HTTP body) that is large enough that Cowboy streams it (i.e., when cowboy_req:read_body/2 is called multiple times). This is in line with the example given by Cowboy here
Without this fix, only the last chunk of the stream is returned as the body of the request.