Andrew Boyson / web

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Mon Apr 29 14:45:30 2019 +0000
Revision:
109:3e82f62c7e1f
Parent:
103:91194cc19bbb
Tidied names from http to web

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 3:b58328ca6e70 1 #include "http.h"
andrewboyson 14:c3c43c8faf0e 2
andrewboyson 14:c3c43c8faf0e 3 //Use http://tomeko.net/online_tools/cpp_text_escape.php to convert from text to c-multiline
andrewboyson 14:c3c43c8faf0e 4 //Use http://tomeko.net/online_tools/cpp_text_unescape.php to convert from c-multiline to text
andrewboyson 14:c3c43c8faf0e 5
andrewboyson 103:91194cc19bbb 6 const char* WebTraceScriptDate = __DATE__;
andrewboyson 103:91194cc19bbb 7 const char* WebTraceScriptTime = __TIME__;
andrewboyson 3:b58328ca6e70 8
andrewboyson 14:c3c43c8faf0e 9 static const char* script =
andrewboyson 103:91194cc19bbb 10 #include "../base/web-ajax-class.inc"
andrewboyson 103:91194cc19bbb 11 #include "web-trace-script.inc"
andrewboyson 14:c3c43c8faf0e 12 ;
andrewboyson 103:91194cc19bbb 13 void WebTraceScript()
andrewboyson 3:b58328ca6e70 14 {
andrewboyson 103:91194cc19bbb 15 HttpOk("application/javascript; charset=UTF-8", "max-age=3600", WebTraceScriptDate, WebTraceScriptTime);
andrewboyson 14:c3c43c8faf0e 16 HttpAddText(script);
andrewboyson 3:b58328ca6e70 17 }