4 ms·
Any hacks you can think of to detect this from the server?
by danicgross 14y ago
Any hacks you can think of to detect this from the server?
- tedchs 14y agoCurl is not going to send different request headers to the server based on whether its stdout is redirected to a file.
- bdarnell 14y agoStart 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.
- deleted 14y ago[deleted]