소스 검색

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))