Merge pull request 'copy incoming content-type' (#283) from ct into v3
Reviewed-on: #283
This commit is contained in:
commit
8058095bcc
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user