bugfix for cancelling a request without explicit setting the content type