Fixed response body condition using the response content type instead of the request content type

Fixes #7