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

Can't authorize at server #12

Closed misha-plus closed 6 years ago

misha-plus commented 6 years ago

Hello. I found a bug about authorization.

At requests.go:req(...) authorization processed after copying headers from WebDAV client to HTTP client, not before. So authorization is impossible.

I created pull request which solves this issue -- https://github.com/studio-b12/gowebdav/pull/13

chripo commented 6 years ago

hallo new contributor. thank you!