aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Fissore <f.fissore@arduino.cc>2013-01-10 16:30:07 +0100
committerFederico Fissore <f.fissore@arduino.cc>2013-01-10 16:30:07 +0100
commitc6287dd6ac33544179a6544b8f3f55a396ec6608 (patch)
tree1f22ba2385ad22eca306d67793c0827451f2b50a
parent37604e695dd8b4fa5c3884f2e24a2b7c8ca30958 (diff)
closes #954: wrong header name in WebServer example sketches
-rw-r--r--libraries/Ethernet/examples/WebServer/WebServer.ino2
-rw-r--r--libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino2
2 files changed, 2 insertions, 2 deletions
diff --git a/libraries/Ethernet/examples/WebServer/WebServer.ino b/libraries/Ethernet/examples/WebServer/WebServer.ino
index ce8dbb1..0573f05 100644
--- a/libraries/Ethernet/examples/WebServer/WebServer.ino
+++ b/libraries/Ethernet/examples/WebServer/WebServer.ino
@@ -63,7 +63,7 @@ void loop() {
// send a standard http response header
client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/html");
- client.println("Connnection: close");
+ client.println("Connection: close");
client.println();
client.println("<!DOCTYPE HTML>");
client.println("<html>");
diff --git a/libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino b/libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
index ac5f056..a514e15 100644
--- a/libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
+++ b/libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
@@ -76,7 +76,7 @@ void loop() {
// send a standard http response header
client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/html");
- client.println("Connnection: close");
+ client.println("Connection: close");
client.println();
client.println("<!DOCTYPE HTML>");
client.println("<html>");