I will like to separate into different vars some information from a HTTP response, at the moment I'm just printing to the serial port the raw data, using:
Serial.print((const char*) Ethernet::buffer + off);
And that prints:
HTTP/1.1 200 OK
Date: Wed, 21 Nov 2012 22:47:21 GMT
Server: Apache
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Temp = 28...
I wonder how can I extract the information I need for later analysis, like the HTTP response code (200), the date, and the value of Temp, how can I extract this values into variables?