9

Is there a way to get the total size (in bytes) of the request header that the browser is sending to the server for each request?

1 Answer 1

16

Sort of...

  1. go to the network tab and right click the first item and click copy as cURL (this is how you will get the header size.

  2. Then go to terminal and do your curl command curl ... -w '%{size_request} %{size_upload}' which will print out the request size at the end.

Curl is the only way i know of doing it.

2
  • exactly. what I was looking for. thanks! Aug 1, 2022 at 8:06
  • I just think it's strange that the Chrome Devtools make any selection here.
    – Niels Bom
    Jan 17, 2023 at 10:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .