Arduino
Arduino copied to clipboard
Ethernet examples/WebServer/WebServer.ino enhancement [imported]
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.
Thanks!