For the same reason you should also read the complete response using a while loop.
That loop will read all the data that has arrived. To read ALL of the data, you need an outer while loop:
while(client.connected())
{
while(client.available() > 0)
{
c = client.read();
serial.print(c); // for debugging
}
}