2 ms·
Mandating lowercase is good because it makes parsing faster. Of course, there’s going to be some poorly coded client out there that ignores this rule and so ev
by secondcoming 4y ago
Mandating lowercase is good because it makes parsing faster.
Of course, there’s going to be some poorly coded client out there that ignores this rule and so everybody else will have to accommodate this half-assedness too.
- est31 4y agoI get the arguments why lowercasing is better, and it's certainly more beautiful than making everything caps, but the transition from the old system to everything being lower case headers leads to a lot of bugs. https://github.com/cockpit-project/bots/commit/3cdbaa6d6765a583d337f4da7b9605a7c0223978 https://github.com/cockpit-project/bots/commit/3cdbaa6d6765a... https://github.com/edwardspec/mediawiki-aws-s3/issues/49 https://github.com/edwardspec/mediawiki-aws-s3/issues/49 https://github.com/firecracker-microvm/firecracker/pull/3006 https://github.com/firecracker-microvm/firecracker/pull/3006 https://github.com/snapview/tungstenite-rs/pull/267 https://github.com/snapview/tungstenite-rs/pull/267
- secondcoming 4y agoYes, libs that don’t adhere to the spec need to be fixed or deprecated.