Avoids duplicate content-type headers due to api requests