title: How to remove Accept-Encoding header from the header part in $http.get angularjs
body: <p>I want to remove access-encoding header from $http.get request. Tried via following, but not any luck.</p>
  
  <pre><code>delete $httpProvider.defaults.headers.common['Accept-Encoding'];
  $http({ method: 'GET', url: apiUrl, data: '', headers: { 'Content-Type': 'application/json', 'accept-encoding': null } });
  </code></pre>
  
  <p>Please share your thoughts.</p>