mirror of
https://github.com/1f349/go-webdav.git
synced 2025-01-15 11:56:34 +00:00
Respond with 200 OK instead of 204 No Content
This commit is contained in:
parent
f16045e6aa
commit
19764e1358
@ -125,7 +125,7 @@ func (h *Handler) handleOptions(w http.ResponseWriter, r *http.Request) error {
|
||||
|
||||
w.Header().Add("DAV", strings.Join(caps, ", "))
|
||||
w.Header().Add("Allow", strings.Join(allow, ", "))
|
||||
w.WriteHeader(http.StatusNoContent)
|
||||
w.WriteHeader(http.StatusOK)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user