1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

closes #954. Typo in WebServer sketches

This commit is contained in:
Fede85 2013-02-07 16:24:56 +01:00
parent cdce800f69
commit 1a0dcb2959
2 changed files with 5 additions and 3 deletions

View File

@ -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>");

View File

@ -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.
@ -15,7 +15,9 @@
by dlf (Metodo2 srl)
modified 31 May 2012
by Tom Igoe
*/
#include <SPI.h>
#include <WiFi.h>
@ -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>");