|Subject:||Re: [lwip-devel] Content-Type in httpd_structs.h|
|Date:||Tue, 21 Mar 2017 09:47:17 +0100|
Fabien Jambois wrote:
According to rfc7231, we have to change "Content-type" to "Content-Type" with upper-case T in httpd_structs.h
To my best knowledge, this is case insensitive (e.g., see RFC 7230, 3.2 "Header Fields": "Each header field consists of a case-insensitive field name followed by a colon [..]"). ALso, reading the mentioned RFC, I can't see why it would be case sensitive.
Nevertheless, since it's 'T' (not 't') in all the RFCs, I'm OK with changing it that way.
I've also added the content types you mentioned as well as a possibility to add custom content types at compile time (makefsdata compile time, for pre-filled headers).
lwip-devel mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|