Fixed crash if content-type is not present in response