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

Reviewed-on: #177
This commit is contained in:
Василий Толстов 2023-12-20 09:26:28 +03:00
commit 069eaf4485

View File

@ -111,7 +111,6 @@ func (s *Server) createSubHandler(sb *httpSubscriber, opts server.Options) broke
} }
hdr := metadata.Copy(msg.Header) hdr := metadata.Copy(msg.Header)
delete(hdr, "Content-Type")
ctx := metadata.NewIncomingContext(context.Background(), hdr) ctx := metadata.NewIncomingContext(context.Background(), hdr)
results := make(chan error, len(sb.handlers)) results := make(chan error, len(sb.handlers))