[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] Content-Type in httpd_structs.h

From: address@hidden
Subject: Re: [lwip-devel] Content-Type in httpd_structs.h
Date: Mon, 20 Mar 2017 22:21:26 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

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).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]