Extract reading binary data into separate function
Don't try to parse content on responses that don't contain any data (fixes #513)
Replace overly long, double ternary expressions with if/else clauses
Add test case for DELETE responses without ETag
Merge pull request #515 from galfert/fix_delete_request

Don't try to parse responses without any data (fixes #513)