Closed
Description
I did this
$ curl -D test_header.txt thissitedoesntexist.com
curl: (6) Could not resolve host: thissitedoesntexist.com
Created file test_header.txt
I expected the following
dump-header file is not created until valid response headers are received.
curl/libcurl version
curl 7.65.0 (x86_64-apple-darwin18.6.0) libcurl/7.65.0 SecureTransport zlib/1.2.11
Release-Date: 2019-05-22
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile libz NTLM NTLM_WB SSL UnixSockets
operating system
macOS 10.14