Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

Ethernet examples/WebServer/WebServer.ino enhancement [imported]

Open cmaglie opened this issue 14 years ago • 1 comments

This is Issue 953 moved from a Google Code project. Added by 2012-06-09T15:33:48.000Z by [email protected]. Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium, Component-Examples

Original description

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.

cmaglie avatar Nov 15 '12 18:11 cmaglie

Thanks!

Fede85 avatar Apr 16 '13 19:04 Fede85