diff options
Diffstat (limited to 'http.go')
-rw-r--r-- | http.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -12,17 +12,17 @@ type ( ) func (GetNotSupported) Get(values ...url.Values) (int, interface{}) { - return 405, map[string]string{"error": "Not implemented"} + return 405, "" } func (PostNotSupported) Post(values ...url.Values) (int, interface{}) { - return 405, map[string]string{"error": "Not implemented"} + return 405, "" } func (PutNotSupported) Put(values ...url.Values) (int, interface{}) { - return 405, map[string]string{"error": "Not implemented"} + return 405, "" } func (DeleteNotSupported) Delete(values ...url.Values) (int, interface{}) { - return 405, map[string]string{"error": "Not implemented"} + return 405, "" } |