add gzip rsp #153 #182

Merged
vtolstov merged 6 commits from kgorbunov/micro-server-http:#153 into master 2024-03-11 12:31:20 +03:00
Showing only changes of commit 3e1b68f0fe - Show all commits

View File

@ -107,7 +107,7 @@ func (h *Handler) Metrics(ctx context.Context, req *codecpb.Frame, rsp *codecpb.
return nil
}
w.Write(rsp.Data)
rsp.Data = buf.Bytes()
return nil
}