]> granicus.if.org Git - curl/commit
examples/crawler: Fix the Accept-Encoding setting
authorJay Satiro <raysatiro@yahoo.com>
Tue, 12 Feb 2019 23:07:29 +0000 (18:07 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 12 Feb 2019 23:07:29 +0000 (18:07 -0500)
commitdb239c07afd20a910b29cd061f179868d3b4b3c7
tree10004226d6a3ccdf80d96e19ca94425edaefc6ec
parent179927c12a54ea810bbc7c6c6fb970ad90b89eef
examples/crawler: Fix the Accept-Encoding setting

- Pass an empty string to CURLOPT_ACCEPT_ENCODING to use the default
  supported encodings.

Prior to this change the specific encodings of gzip and deflate were set
but there's no guarantee they'd be supported by the user's libcurl.
docs/examples/crawler.c