bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] How to intercept wget to extract the raw requests and the


From: Peng Yu
Subject: Re: [Bug-wget] How to intercept wget to extract the raw requests and the raw responses?
Date: Sat, 10 Feb 2018 10:34:13 -0600

> 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

[Prev in Thread] Current Thread [Next in Thread]