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

2018-02-15 Thread Bykov Alexey
wget --warc-file=httpbin -qO- https://httpbin.org/get How to convert the warc format to the actual header of requests and responses? Greetings WARC is gzipped plain text. wget --warc-file=httpbin --no-warc-compression -qO response.raw -- https://httpbin.org/get Extract headers with GN

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

2018-02-15 Thread Peng Yu
On Wed, Feb 14, 2018 at 12:47 PM Bykov Alexey wrote: > Greetings > > Did You tried "--warc-file" option? > > wget --warc-file=httpbin -qO- https://httpbin.org/get How to convert the warc format to the actual header of requests and responses? >

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

2018-02-14 Thread Bykov Alexey
Greetings Did You tried "--warc-file" option? wget --warc-file=httpbin -qO- https://httpbin.org/get Best regards.

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

2018-02-14 Thread Ander Juaristi
Sort of... Would need further refinement. sudo tcpdump -i -A 'port http' Regards, - AJ > Enviar: domingo 11 de febrero de 2018 a las 0:35 > De: "Peng Yu" > Para: "Tim Ruehsen" > CC: bug-wget@gnu.org > Asunto: Re: [Bug-wget] How to intercept wg

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

2018-02-10 Thread Peng Yu
On Sat, Feb 10, 2018 at 3:46 PM, Tim Ruehsen wrote: > Am Samstag, den 10.02.2018, 10:34 -0600 schrieb Peng Yu: >> > 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 recompil

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

2018-02-10 Thread Tim Ruehsen
Am Samstag, den 10.02.2018, 10:34 -0600 schrieb Peng Yu: > > 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. Packet sniffing with e.g. tcpdump

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

2018-02-10 Thread Peng Yu
> 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 f

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

2018-02-10 Thread Tim Ruehsen
Am Freitag, den 09.02.2018, 22:28 -0600 schrieb Peng Yu: > Hi, > > In the following example, `wget` should send an HTTP GET request to > httpbin.org. > > $ wget -qO- http://httpbin.org/get > { > "args": {}, > "headers": { > "Accept": "*/*", > "Accept-Encoding": "identity", > "Conn