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

Handle error response when reading a file. #8

Closed Ferada closed 6 years ago

Ferada commented 6 years ago

In Read/ReadStream no HTTP response code handling is done. The expected behaviour IMO is to promote 404 and similar errors to actual err responses.

chripo commented 6 years ago

thank you!