Hi,

I use downloadmanager to upload photos to one service and has found a strange thing.
It returns Success even if server response error.
Just sample:
Code:
--> I send headers (POST request)
<-- Server response 100 (continue)
--> I upload an image
<-- Server response 415 (unsupported media type)
By fact it's error, but download manager calls onSuccess function.
How can I get real status or HTTP response code from the server?