Merge pull request 'copy incoming content-type' (#283) from ct into v3

Reviewed-on: #283
This commit is contained in:
Василий Толстов 2023-12-20 09:35:33 +03:00
commit 8058095bcc

View File

@ -342,9 +342,6 @@ func (n *noopServer) createSubHandler(sb *subscriber, opts Options) broker.Handl
hdr := metadata.New(len(msg.Header)) hdr := metadata.New(len(msg.Header))
for k, v := range msg.Header { for k, v := range msg.Header {
if k == "Content-Type" {
continue
}
hdr.Set(k, v) hdr.Set(k, v)
} }