A simple web server that can be bound to either the EthernetInterface or the WiflyInterface.

Dependents:   Smart-WiFly-WebServer WattEye X10Svr SSDP_Server

Revision:
47:4c29c8f0cff2
Parent:
45:360c7c1d07b7
Child:
48:078adbe279ac
--- a/SW_HTTPServer.cpp	Sun Feb 05 00:40:10 2017 +0000
+++ b/SW_HTTPServer.cpp	Sun Feb 05 18:52:21 2017 +0000
@@ -61,6 +61,7 @@
     {".htm", "Content-Type: text/html\r\n"          },
     {".html","Content-Type: text/html\r\n"          },
     {".xml", "Content-Type: text/xml\r\n"           },
+    {".js",  "Content-Type: text/javascript\r\n"    },
     {0,0}
 };