0
Currently I am experimenting with curl flags, looking how to get only the response headers, follow the redirection if any, encryption and authentication used and the round trip time.
What flag should I use to hide/disable the HTML body in the output?
What about a Windows environment that uses git bash to curl ? – None – 2018-02-25T17:42:53.577
Windows' equivalent to
/dev/null
is simplyNUL
; I assume git bash will respect that but cannot test at the minute. I have updated my answer to include that. – bertieb – 2018-02-25T17:48:01.5731
In addition, some quick searches indicates that git bash implements /dev/null, so
– bertieb – 2018-02-25T17:50:58.810/dev/null
may work in that case!