Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

lock used as refreshlock #17

Open
wkloucek opened this issue Dec 5, 2023 · 0 comments
Open

lock used as refreshlock #17

wkloucek opened this issue Dec 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@wkloucek
Copy link
Owner

wkloucek commented Dec 5, 2023

if resp.Lock != nil {
if resp.Lock.LockId != lockID {
w.Header().Set(HeaderWopiLock, resp.Lock.LockId)
http.Error(w, http.StatusText(http.StatusConflict), http.StatusConflict)
return
}
// TODO: according to the spec we need to treat this as a RefreshLock
http.Error(w, http.StatusText(http.StatusOK), http.StatusOK)
return
}

@wkloucek wkloucek added the bug Something isn't working label Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant