phpMv / ubiquity

Ubiquity framework
https://ubiquity.kobject.net
Apache License 2.0
692 stars 60 forks source link

Content-Type must be written in lowercase #68

Open cpeuschel opened 5 years ago

cpeuschel commented 5 years ago

In URequest.php method getContentType the header field "Content-Type" must be written in lowercase

See: https://tools.ietf.org/html/rfc7540#section-8.1.2

jcheron commented 5 years ago

Thank you for reporting it. Indeed, it remained on the old RFC 7231 for HTTP/1.1 I have to make sure it doesn't create problems elsewhere before I change.