From fd670155aa8b70c81bec46c9e741d98029e31a85 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Wed, 20 Dec 2023 09:26:06 +0300 Subject: [PATCH] copy incoming content-type Signed-off-by: Vasiliy Tolstov --- subscriber.go | 1 - 1 file changed, 1 deletion(-) diff --git a/subscriber.go b/subscriber.go index 89c6ba9..f7e1b90 100644 --- a/subscriber.go +++ b/subscriber.go @@ -111,7 +111,6 @@ func (s *Server) createSubHandler(sb *httpSubscriber, opts server.Options) broke } hdr := metadata.Copy(msg.Header) - delete(hdr, "Content-Type") ctx := metadata.NewIncomingContext(context.Background(), hdr) results := make(chan error, len(sb.handlers)) -- 2.45.2