Compare commits

..

9 Commits
9 ... master

Author SHA1 Message Date
shoopea
f073d3021d remove all debug 2024-01-20 12:33:07 +01:00
shoopea
d8c0f204df test 2024-01-20 12:18:22 +01:00
shoopea
45e36d9254 details 2024-01-20 12:11:08 +01:00
shoopea
526c74ad21 fix 2024-01-20 12:06:08 +01:00
shoopea
1dc1a2b378 still more debug 2024-01-20 12:05:02 +01:00
shoopea
e3bd2a5fb2 even more debug 2024-01-20 11:59:18 +01:00
shoopea
331e1f8e16 more debug 2024-01-20 11:43:26 +01:00
shoopea
d59e787694 debug 2024-01-20 11:27:24 +01:00
shoopea
42ddb5a83e migrate 2024-01-20 11:02:25 +01:00
3 changed files with 7 additions and 2 deletions

View File

@ -11,6 +11,11 @@ type BasicAuth struct {
pw string
}
// NewDigestAuth creates a new instance of our Digest Authenticator
func NewBasicAuth(login, secret string) (Authenticator, error) {
return &BasicAuth{user: login, pw: secret}, nil
}
// Authorize the current request
func (b *BasicAuth) Authorize(c *http.Client, rq *http.Request, path string) error {
rq.SetBasicAuth(b.user, b.pw)

View File

@ -13,7 +13,7 @@ import (
"runtime"
"strings"
d "github.com/studio-b12/gowebdav"
d "git.siteop.biz/shoopea/gowebdav"
)
func main() {

2
go.mod
View File

@ -1,3 +1,3 @@
module github.com/studio-b12/gowebdav
module git.siteop.biz/shoopea/gowebdav
go 1.17