Conrad Hoffmann b0c59cdea1 carddav/caldav: use 308 for .well-known redirects
This makes it a little less ambiguous (and, in case of Go clients, a lot
easier) that clients should follow the redirect by sending the same
PROPFIND request, including body, to the new location.

See also the documentation of [http.Client.Do()][1] and the comments in
[http.redirectBehavior()][2].

Confirmed to not make a difference for Evolution and Thunderbird
clients.

[1]: https://pkg.go.dev/net/http#Client.Do
[2]: https://cs.opensource.google/go/go/+/refs/tags/go1.18.2:src/net/http/client.go;drc=d8762b2f4532cc2e5ec539670b88bbc469a13938;l=502
2022-05-23 09:54:10 +02:00
2020-04-02 16:50:41 +02:00
2017-08-26 14:46:44 +02:00
2020-01-22 13:00:42 +01:00
2020-02-24 21:16:45 +01:00
2020-02-24 21:16:45 +01:00
2020-01-14 17:51:33 +01:00
2022-02-02 13:54:40 +01:00

go-webdav

godocs.io builds.sr.ht status

A Go library for WebDAV, CalDAV and CardDAV.

License

MIT

Description
A Go library for WebDAV, CalDAV and CardDAV
Readme MIT 612 KiB
Languages
Go 100%