Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http, net/textproto: Move net/http.Header.Write() to net/textproto.MIMEHeader.Write() #16479
Copy of comment from CL:
Do we really want to add a WriteSubset method to the textproto package? It's weird enough in net/http in retrospect. If textproto needs this functionality, then I'd rather move the bulk of the logic to an internal shared package so we don't need to expose WriteSubset.