diff options
author | Doug Black <dougblack@gatech.edu> | 2014-01-25 19:09:50 -0800 |
---|---|---|
committer | Doug Black <dougblack@gatech.edu> | 2014-01-25 19:09:50 -0800 |
commit | c43ecdc6549b097ec04a427e5afd7a8f6fedc320 (patch) | |
tree | bbac37de060a240e00e566b3fc52be8ab30832b0 /http.go | |
parent | update README (diff) | |
download | sleepy-c43ecdc6549b097ec04a427e5afd7a8f6fedc320.tar.gz sleepy-c43ecdc6549b097ec04a427e5afd7a8f6fedc320.tar.bz2 sleepy-c43ecdc6549b097ec04a427e5afd7a8f6fedc320.zip |
cleaner
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, "" } |