mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
apps/http: Fix httpd_structs.h build error
Fixes: bug #53382: HTTPD_ADDITIONAL_CONTENT_TYPES doesn't compile Reported-by: Giuseppe Modugno <giuseppe.modugno.loqed@gmail.com> Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
parent
104a629a51
commit
e19d908f0e
@ -100,7 +100,7 @@ static const tHTTPHeader g_psHTTPHeaders[] = {
|
|||||||
{ "xml", HTTP_HDR_XML},
|
{ "xml", HTTP_HDR_XML},
|
||||||
{ "xsl", HTTP_HDR_XML},
|
{ "xsl", HTTP_HDR_XML},
|
||||||
{ "pdf", HTTP_HDR_PDF},
|
{ "pdf", HTTP_HDR_PDF},
|
||||||
{ "json", HTTP_HDR_JSON},
|
{ "json", HTTP_HDR_JSON}
|
||||||
#ifdef HTTPD_ADDITIONAL_CONTENT_TYPES
|
#ifdef HTTPD_ADDITIONAL_CONTENT_TYPES
|
||||||
/* If you need to add content types not listed here:
|
/* If you need to add content types not listed here:
|
||||||
* #define HTTPD_ADDITIONAL_CONTENT_TYPES {"ct1", HTTP_CONTENT_TYPE("text/ct1")}, {"exe", HTTP_CONTENT_TYPE("application/exe")}
|
* #define HTTPD_ADDITIONAL_CONTENT_TYPES {"ct1", HTTP_CONTENT_TYPE("text/ct1")}, {"exe", HTTP_CONTENT_TYPE("application/exe")}
|
||||||
|
Loading…
Reference in New Issue
Block a user