> Use 'wget -d -olog -qO- http://httpbin.org/get'.

This requires the compilation of wget with debugging support. Is there
any other way so that it does not require recompilation of wget?
Thanks.

$ wget -d -o/tmp/log -qO- http://httpbin.org/get
Debugging support not compiled in. Ignoring --debug flag.
{
  "args": {},
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "identity",
    "Connection": "close",
    "Host": "httpbin.org",
    "User-Agent": "Wget/1.16.3 (darwin13.4.0)"
  },
  "origin": "165.91.48.151",
  "url": "http://httpbin.org/get";
}

-- 
Regards,
Peng

Reply via email to