Parse HTTP Response

I may be way too late, but what I assume you are trying to do is locate the body of the response and then choose which line to read. If so then yes it can most certainly be done.

 while (client.available()) 
  {
    char c = client.read();
    Serial.print(c);
    
    if(c == '\n')
    {
      c = client.read();
      Serial.print(c);
      if(c == '\r')
      {
        c = client.read();
        Serial.print(c);
        if(c == '\n')
        {
          c = client.read();
          Serial.print(c);
          digitalWrite(MACHINE, c);
          Serial.println();
          Serial.print(F("Machine state: "));
          Serial.println(c);
        }
      }
    }

The code above is what I used to locate the response body by finding the empty line that always separates the body from the rest of the response as the blank line '\r\n' will always be preceded by a '\n'. Finding the right line in the body is not that much different either, you can differentiate each line by finding the '\n' at the end of each line. The code below should be the basic structure to parse out specific lines in the body:

for(int i; i < body_line; i++)
{
  //Cycle through the body preceding your desired line
  while(/*Loop until end of line is reached*/)
  {
    //Print out body data until end of line is reached
  }
}

while(/*Loop until end of line is reached*/)
{
  //Use this while loop to process desired body line
}

while(/*Loop until end of response is reached*/)
{
  //Read out the remaining data
}

I hope this helps!