Re: [PHP-DEV] Capitalization of Content-* headers

2022-03-17 Thread Tim Düsterhus
Hi Vedran, On 3/17/22 19:03, Vedran Miletić via internals wrote: What do you think about this change? *If* a change is made I'd rather like to see all-lowercase headers, as that's the casing enforced by HTTP/2 [1] [2]. I don't see a benefit in changing one capitalized version to different

[PHP-DEV] Capitalization of Content-* headers

2022-03-17 Thread Vedran Miletić via internals
Hello, A while ago I observed that PHP's capitalization of Content-Type and Content-Length headers is Content-type and Content-length. This is working fine, but is inconsistent with the rest of the headers which are printed in Header-Name format. I have proposed changing that [1] and concern