From ee3f97868377b3c3c0ed0dfc5af5d1aa01ecb728 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Wed, 20 Dec 2023 09:23:42 +0300 Subject: [PATCH] copy incoming content-type Signed-off-by: Vasiliy Tolstov --- subscriber.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/subscriber.go b/subscriber.go index 94f11f5..8199717 100644 --- a/subscriber.go +++ b/subscriber.go @@ -132,9 +132,6 @@ func (g *Server) createSubHandler(sb *subscriber, opts server.Options) broker.Ha hdr := make(map[string]string, len(msg.Header)) for k, v := range msg.Header { - if k == "Content-Type" { - continue - } hdr[k] = v }