3 ms·
No, and that wasn't the claim being made. The claim being made was that there can be engineering value in preserving the case of existing headers. Example: An
by akoboldfrying 3y ago
No, and that wasn't the claim being made. The claim being made was that there can be engineering value in preserving the case of existing headers.
Example: An HTTP proxy that preserves the case of HTTP headers is going to cause less breakage than one that changes them. In a perfect world, it would make no difference, but that isn't the world we live in.
- aatd86 3y agoAre you sure they are discarded and unrecoverable? Can't that be simply recovered by using textproto.MIMEHeader and iterating over the header map? Seems that it could be a middleware away, I don't see the big deal if so.
- akoboldfrying 3y agoYou may well be right -- I don't know Go at all, and just assumed the parent post's claim is true.