NotSupported is the handler for the route that is no longer supported
(w http.ResponseWriter, r *http.Request)
| 88 | |
| 89 | // NotSupported is the handler for the route that is no longer supported |
| 90 | func NotSupported(w http.ResponseWriter, r *http.Request) { |
| 91 | http.Error(w, "API version is not supported. Please upgrade your client.", http.StatusGone) |
| 92 | } |
| 93 | |
| 94 | // getSessionKeyFromCookie reads and returns a session key from the cookie sent by the |
| 95 | // request. If no session key is found, it returns an empty string |