with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication and when done perform the requested POST.