net/http: Header.Clone behavior #33141
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
release-blocker
Milestone
The
Header.Clone
method is being added in Go1.13. It's current behavior is to always allocate a map and return it even if the receiver is nil.Thus:
Is this behavior we want to go with? It seems more consistent for
Clone
to return nil if the receiver is also nil.The text was updated successfully, but these errors were encountered: