package console import "net/http" // writeClaimPending answers a delete door from the retire error itself: // 202 only for a delete this console's own operation made durable, 409 for // a refusal before any effect. It never infers ownership from the host // claim (a foreign operation's claim must not read as this request's). func (s *Server) writeClaimPending(w http.ResponseWriter, err error) bool { if !s.cfg.HostClaim { return false } return claimRetireOutcome(w, err) }