(w http.ResponseWriter, r *http.Request)
| 313 | } |
| 314 | |
| 315 | func (mod *RestAPI) corsRoute(w http.ResponseWriter, r *http.Request) { |
| 316 | mod.setSecurityHeaders(w) |
| 317 | w.WriteHeader(http.StatusNoContent) |
| 318 | } |
| 319 | |
| 320 | func (mod *RestAPI) sessionRoute(w http.ResponseWriter, r *http.Request) { |
| 321 | mod.setSecurityHeaders(w) |