Fix Content-Type and handle blank response from external services