server: remove unparsed body from request and message

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2022-03-21 15:29:40 +03:00
parent 4618fae641
commit 4ce1ef631b
6 changed files with 16 additions and 22 deletions

View File

@@ -210,7 +210,6 @@ func (h *httpServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
service: handler.sopts.Name,
contentType: ct,
method: fmt.Sprintf("%s.%s", hldr.name, hldr.mtype.method.Name),
body: buf,
payload: argv.Interface(),
header: md,
}