code: func (s *HTTPServer) preparedQuerySpecificOptions(resp http.ResponseWriter, req *http.Request) interface{} {
  	path := req.URL.Path
  	switch {
  	case strings.HasSuffix(path, "/execute"):
  		resp.Header().Add("Allow", strings.Join([]string{"OPTIONS", "GET"}, ","))
  		return resp
  
  	case strings.HasSuffix(path, "/explain"):
  		resp.Header().Add("Allow", strings.Join([]string{"OPTIONS", "GET"}, ","))
  		return resp
  
  	default:
  		resp.Header().Add("Allow", strings.Join([]string{"OPTIONS", "GET", "PUT", "DELETE"}, ","))
  		return resp
  	}
  }
docs: // PreparedQuerySpecificOptions handles OPTIONS requests to prepared query endpoints.