From 092f5d96b1e7429ae0d27218874a4d9bb4df9f12 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Wed, 20 Dec 2023 09:35:01 +0300 Subject: [PATCH] copy incoming content-type Signed-off-by: Vasiliy Tolstov --- server/subscriber.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/subscriber.go b/server/subscriber.go index 45dd8f67..82688e4d 100644 --- a/server/subscriber.go +++ b/server/subscriber.go @@ -342,9 +342,6 @@ func (n *noopServer) createSubHandler(sb *subscriber, opts Options) broker.Handl hdr := metadata.New(len(msg.Header)) for k, v := range msg.Header { - if k == "Content-Type" { - continue - } hdr.Set(k, v) }