it actually will close. This is after all what HTTP 1.1 says a server should do.
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication and when done perform the requested POST.