2

Is there any way to print http chunks and their arrival time ? Using curl or any other visualization tool? any quick way to write this in javascript?

I found a tool called chunk scatter http://scatter.cowchimp.com/ but it is not working for https url.

Rama Vadakattu
  • 1,266
  • 2
  • 16
  • 24

1 Answers1

11

With curl, you can pass the --raw option which will make curl not "decode" the transfer encoding and instead pass that on to the output, so then you can write your own "decoder" that's output times for each new chunk it finds.

Daniel Stenberg
  • 54,736
  • 17
  • 146
  • 222