Andrew Boyson / web

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Tue Sep 24 18:16:47 2019 +0000
Revision:
130:9a5b8fe308f1
Parent:
113:23507d14f927
Added http

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 110:8ab752842d25 1 #include "http.h"
andrewboyson 110:8ab752842d25 2
andrewboyson 110:8ab752842d25 3 //Use http://tomeko.net/online_tools/cpp_text_escape.php to convert from text to c-multiline
andrewboyson 110:8ab752842d25 4 //Use http://tomeko.net/online_tools/cpp_text_unescape.php to convert from c-multiline to text
andrewboyson 110:8ab752842d25 5
andrewboyson 110:8ab752842d25 6 const char* WebNet6ScriptDate = __DATE__;
andrewboyson 110:8ab752842d25 7 const char* WebNet6ScriptTime = __TIME__;
andrewboyson 110:8ab752842d25 8
andrewboyson 110:8ab752842d25 9 static const char* script =
andrewboyson 113:23507d14f927 10 #include "../common/web-ajax-class.inc"
andrewboyson 110:8ab752842d25 11 #include "web-net-class.inc"
andrewboyson 110:8ab752842d25 12 #include "web-net6-script.inc"
andrewboyson 110:8ab752842d25 13 ;
andrewboyson 110:8ab752842d25 14 void WebNet6Script()
andrewboyson 110:8ab752842d25 15 {
andrewboyson 110:8ab752842d25 16 HttpOk("application/javascript; charset=UTF-8", "max-age=3600", WebNet6ScriptDate, WebNet6ScriptTime);
andrewboyson 110:8ab752842d25 17 HttpAddText(script);
andrewboyson 110:8ab752842d25 18 }