I’d like to save the “chunks” of an http response, preferably using curl or some other free command line tool that works on mac or linux, but I’m open to any type of solution.
So for example, if a response is being sent in 10 chunks, I’d like to save each one of those chunks to a separate file,
And of course if a file is being sent in a single chunk, then the file would be saved to a single file.
How can I make save the chunks of an http response using curl or some other tool?
EDIT: I’d like to “see” this to verify that
Transfer-Encoding: chunked is serving 1-N chunks, and
Content-Length:XXX is sending a single response.