lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #9548] Add .json to list of SSI file extensions


From: Mike Kleshov
Subject: [lwip-devel] [patch #9548] Add .json to list of SSI file extensions
Date: Mon, 22 Jan 2018 07:59:58 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

URL:
  <http://savannah.nongnu.org/patch/?9548>

                 Summary: Add .json to list of SSI file extensions
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: kleshov
            Submitted on: Mon 22 Jan 2018 03:59:57 PM MSK
                Category: apps
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:


diff --git a/src/apps/httpd/httpd_structs.h b/src/apps/httpd/httpd_structs.h
index 590af4b7..137f8e91 100644
--- a/src/apps/httpd/httpd_structs.h
+++ b/src/apps/httpd/httpd_structs.h
@@ -115,7 +115,7 @@ static const tHTTPHeader g_psHTTPHeaders[] = {
 
 #if LWIP_HTTPD_SSI
 static const char *const g_pcSSIExtensions[] = {
-  ".shtml", ".shtm", ".ssi", ".xml"
+  ".shtml", ".shtm", ".ssi", ".xml", ".json"
 };
 #define NUM_SHTML_EXTENSIONS LWIP_ARRAYSIZE(g_pcSSIExtensions)
 #endif /* LWIP_HTTPD_SSI */





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9548>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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