by bethesda » Sun Nov 14, 2010 1:13 pm
As noted in the SimpleClient.pde comments, WiServer often returns it's response to an HTTP GET in multiple 'packets', meaning it calls the callback function multiple times. The problem with this is that the data I'm looking for could span the boundary of two of these responses, getting cut in half. So, I'm thinking I'll concatenate all the data it returns in multiple responses, then parse the whole thing. The problem is I don't know how to detect when the response is complete. Appreciate any assistance on this.