Open awk-gnu opened 4 years ago
Transfer-Encoding ヘッダ落とさないと(元のまま変更しないと)バグる
GET http://www.chiseki.go.jp/map/27.php? HTTP/1.1 Host: www.chiseki.go.jp User-Agent: curl/7.58.0 Accept: / Proxy-Connection: Keep-Alive < HTTP/1.1 200 OK < Date: Thu, 25 Jun 2020 20:49:54 GMT < Server: Apache < Vary: Accept-Encoding < Transfer-Encoding: chunked < Content-Type: text/html < Proxy-Connection: keep-alive < Connection: keep-alive < Illegal or missing hexadecimal sequence in chunked-encoding stopped the pause stream! Closing connection 0 curl: (56) Illegal or missing hexadecimal sequence in chunked-encoding
GET http://www.chiseki.go.jp/map/27.php? HTTP/1.1 Host: www.chiseki.go.jp User-Agent: curl/7.58.0 Accept: / Proxy-Connection: Keep-Alive
< HTTP/1.1 200 OK < Date: Thu, 25 Jun 2020 20:49:54 GMT < Server: Apache < Vary: Accept-Encoding < Transfer-Encoding: chunked < Content-Type: text/html < Proxy-Connection: keep-alive < Connection: keep-alive <
Transfer-Encoding: chunked Transfer-Encoding: compress Transfer-Encoding: deflate Transfer-Encoding: gzip この辺も同様にバグると思われるのでやっぱりヘッダごと削除します.
Transfer-Encoding ヘッダ落とさないと(元のまま変更しないと)バグる