Skip to content

Commit

Permalink
closes arduino#954. Typo in WebServer sketches
Browse files Browse the repository at this point in the history
  • Loading branch information
Fede85 committed Feb 7, 2013
1 parent cdce800 commit 1a0dcb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libraries/Ethernet/examples/WebServer/WebServer.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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>");
Expand Down
6 changes: 4 additions & 2 deletions libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Web Server
WiFi Web Server
A simple web server that shows the value of the analog input pins.
using a WiFi shield.
Expand All @@ -15,7 +15,9 @@
by dlf (Metodo2 srl)
modified 31 May 2012
by Tom Igoe
*/

#include <SPI.h>
#include <WiFi.h>

Expand Down Expand Up @@ -76,7 +78,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>");
Expand Down

0 comments on commit 1a0dcb2

Please sign in to comment.