I have an API written using the express framework. As part of the logging/scaling-tests process, I'd like to know how large a received request is in bytes (so we can determine the effect it's going to have on the network).
Is there a way of doing this? I've read through the Express Documentation and couldn't find anything. Will reading off the content-length
header work? Or could that value be sent incorrectly?