瀏覽代碼

Fix HTTPServer bug

Stan 1 天之前
父節點
當前提交
fe6e9cdc88
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      http_server.go

+ 1 - 0
http_server.go

@@ -151,6 +151,7 @@ func (this *HTTPServer) ServeHTTP(responseStream http.ResponseWriter, requestStr
 			return
 		}
 
+		fmt.Println(string(buffer))
 		err = json.Unmarshal(buffer, &handler.Data)
 		if err != nil {
 			this.log.Error("malformed request body", LogValue("path", requestStream.URL.Path), LogError(err))