Explorar el Código

Fix HTTPServer bug

Stan hace 1 día
padre
commit
fe6e9cdc88
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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))