diff --git a/sysservice/originhttp/httpserverervice.go b/sysservice/originhttp/httpserverervice.go index 3472465..4b8f035 100644 --- a/sysservice/originhttp/httpserverervice.go +++ b/sysservice/originhttp/httpserverervice.go @@ -168,7 +168,7 @@ func Request(method HTTP_METHOD, url string, handle HttpHandle) error { } else if method == METHOD_POST { strMethod = "POST" } else { - return fmt.Errorf("not support method.") + return nil } postAliasUrl[strMethod][matchURL] = r