Start out by sending dummy data as fast as you can. Once you've sent a few TB you can be relatively confident that it's going to a terminal instead of a file (which would have filled up the disk by now). Then you can start slowly sending the real data.
Curl is not going to send different request headers to the server based on whether its stdout is redirected to a file.