Closed axelrose closed 8 years ago
with "large file put", i saw a workaroud for this problem with adding a conn.exists(url); before doing the put.
Preemptive authentication only configures Basic authentication.
Make sure your entities are repeatable for operations that require several requests such as when responding to authentication challenges.
It is perhaps a misunderstanding or a documentation problem only in https://github.com/lookfirst/sardine/wiki/UsageGuide
Does "Only the Basic scheme is supported" mean this is generelly the case or just after setting preemptive authentication?
I have a server (Adobe CQMS) which is ok if I run
curl -u "me:pass" --digest --upload-file test.jpg https://host/path
but not ok withcurl -u "me:pass" --upload-file test.jpg https://host/path
When coding just
I get
It doesn't make a difference to me if I add conn.disablePreemptiveAuthentication(); or conn.enablePreemptiveAuthentication("host");