folpindo / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Ethernet examples/WebServer/WebServer.ino enhancement #953

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We do not have to use meta in HTML head when we produce ourself the headers of 
an http answer:

  client.println("<meta http-equiv=\"refresh\" content=\"5\">");

should be instead put into the http header as:

  client.println("Refresh: 5");

Less bytes in the source code.
Less bytes in the arduino
Less bytes on wire
We are no more dependant of HTML.

Original issue reported on code.google.com by kooco...@gmail.com on 9 Jun 2012 at 3:33

GoogleCodeExporter commented 9 years ago
Passing this over to Tom.

Original comment by dmel...@gmail.com on 17 Jul 2012 at 3:28

GoogleCodeExporter commented 9 years ago
Added the fix see the commit: 
https://github.com/arduino/Arduino/commit/ce3554261d5cfef427fb8860f086038b949d58
91

Original comment by f.vanz...@gmail.com on 16 Apr 2013 at 7:45