don't fail when request content type is application/json but the body is empty
Merge pull request #628 from brettatoms/release-0.12

fails when request content type is application/json but the body is empty