mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
fc9082c422
The underlying golang webdav library returns Method Not Allowed for HEAD requests on directories: https://github.com/golang/net/blob/master/webdav/webdav.go#L210 let's see if we can workaround this inside SFTPGo itself in a similar way as we do for GET. The HEAD response will not return a Content-Length, we cannot handle this inside SFTPGo. Fixes #294 |
||
---|---|---|
.. | ||
file.go | ||
handler.go | ||
internal_test.go | ||
mimecache.go | ||
server.go | ||
webdavd.go | ||
webdavd_test.go |