Ver código fonte

omit Accept-Encoding header from request

Benton Edmondson 1 ano atrás
pai
commit
1307d6d6db
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      jtp/jtp.go

+ 0 - 1
jtp/jtp.go

@@ -55,7 +55,6 @@ func Get(link *url.URL, accept string, tolerated []string, maxRedirects uint) (m
 		"GET " + link.RequestURI() + " HTTP/1.0\r\n" +
 		"Host: " + link.Host + "\r\n" +
 		"Accept: " + accept + "\r\n" +
-		"Accept-Encoding: identity\r\n" +
 		"\r\n",
 	))
 	if err != nil {