lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #9657] HTTPD: Add support for javascript/JSON-friend


From: Lucas Hartmann
Subject: [lwip-devel] [patch #9657] HTTPD: Add support for javascript/JSON-friendly /*#SSI_tag*/
Date: Wed, 13 Jun 2018 10:33:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

                 Summary: HTTPD: Add support for javascript/JSON-friendly
/*#SSI_tag*/ 
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: lhartmann
            Submitted on: Wed 13 Jun 2018 02:33:25 PM UTC
                Category: apps
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Regular SSI tags are in the form of HTML comments <!--#tag-->, and should be
REPLACED by their value on the stream. To save on buffering LWIP's httpd just
INSERTS the value after the tag, but that is bad for scripts or JSON data.

An option to allow JS-friendly tags without the need for extra buffering is to
accept /*#tag*/ as an alternative to <!--#tag-->.

Hope this can be useful.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 13 Jun 2018 02:33:25 PM UTC  Name: httpd_js_ssi.patch  Size: 6KiB  
By: lhartmann

<http://savannah.nongnu.org/patch/download.php?file_id=44365>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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