copy incoming content-type #169

Merged
vtolstov merged 1 commits from ct into v3 2023-12-20 09:24:17 +03:00
Showing only changes of commit ee3f978683 - Show all commits

View File

@ -132,9 +132,6 @@ func (g *Server) createSubHandler(sb *subscriber, opts server.Options) broker.Ha
hdr := make(map[string]string, len(msg.Header)) hdr := make(map[string]string, len(msg.Header))
for k, v := range msg.Header { for k, v := range msg.Header {
if k == "Content-Type" {
continue
}
hdr[k] = v hdr[k] = v
} }