studio-b12 / gowebdav

A golang WebDAV client library and command line tool.
BSD 3-Clause "New" or "Revised" License
309 stars 89 forks source link

Digest authentication was improved #19

Closed MrVine closed 6 years ago

MrVine commented 6 years ago

Using information from here digest authentication method was expanded to support more subtypes of this auth type.

chuckwagoncomputing commented 6 years ago

SabreDAV is throwing a 500 error with this. I'll look into it when I find some time.

MrVine commented 6 years ago

@chuckwagoncomputing , can you provide SabreDAV server's response, please?

chuckwagoncomputing commented 6 years ago

It's a 500. It appears that the body of the propfind request is not being sent. I tried my last change again and got the same result. Apparently something has changed on my end, but I'm not sure what. If this change is working for you I'd say we should go ahead and merge it and I'll try to find my problem from there.

MrVine commented 6 years ago

@chuckwagoncomputing , I create issue #20 to describe this problem. After I tried to find problem, found it, fix it and send this fix as pull-request #21. When you will have a time, please try to use the code from this pull-request to make request to SabreDav server, and write results here. Hope it fix this problem.

MrVine commented 6 years ago

@chuckwagoncomputing , any news?

chuckwagoncomputing commented 6 years ago

I can confirm that this is working with SabreDAV.

chripo commented 6 years ago

Awesome! Thank you very much.