copy incoming content-type #283

Merged
vtolstov merged 1 commits from ct into v3 2023-12-20 09:35:35 +03:00

View File

@ -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)
}