Skip to content

Commit

Permalink
Merge pull request #49 from joeshaw/patch-3
Browse files Browse the repository at this point in the history
Remove Accept-Encoding header from requests
  • Loading branch information
edsrzf committed Aug 20, 2015
2 parents dc758ba + b03ee3d commit 920c950
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ func (u *URL) Request(method string, body io.Reader) (response *http.Response, e

request.Header.Set("Authorization", "OAuth "+u.Settings.Token)
request.Header.Set("Accept", "application/json")
request.Header.Set("Accept-Encoding", "gzip/deflate")
request.Header.Set("User-Agent", u.Settings.UserAgent)

if body != nil {
Expand Down

0 comments on commit 920c950

Please sign in to comment.