Use real content-type in tests
Avoid error when no content-type in response
Merge pull request #10 from affinitic/master

Improve content-type handling