I am trying to use aria2 with Amazon S3. If a request fails in a 40X status, the amazon api includes a more detailed explanation of the error in the response body. In aria2's logs, it shows the response headers, eg
HTTP/1.1 403 Forbidden
x-amz-request-id: E15A60090D06B
x-amz-id-2: /FVTzWpBbbbbbbb6sLxdeaaaaaaaaaFJ12Z2vKm/xW/bdersedxeIis
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Fri, 09 Nov 2012 02:57:46 GMT
Server: AmazonS3
Is there any way to dump the response body into the log? If not, could this please be added?
Patch attached.
I have currently no plan to merge this change to the trunk.