mlachwani / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

HttpUpload class reports failure when HTTP response code is anything but 200 #580

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use crash report sender to upload a dump to Amazon S3
2. After a successful upload, S3 responds with HTTP code 204 (No Content)
3. HttpUpload returns false indicating failure

What is the expected output? What do you see instead?
HttpUpload should return true

What version of the product are you using? On what operating system?

Please provide any additional information below.
According to the HTTP RFC, status codes in the class 2xx indicate that the 
client's request was successfully received, understood, and accepted.

Original issue reported on code.google.com by mma...@gmail.com on 17 Apr 2014 at 7:11