Wifly Web Server Dropping Packets?

I have a fairly simple web server sketch, based on the example sketch in the wifly library. While communicating with my web browser, it seems to occasionally drop random sections of my html code. I’ve tried playing with a few of the wifly settings via terminal, such as ip flags, but I can’t seem to solve this issue.

Can anyone point me in the right direction?

Okay, I figured it out. Adding delay(40); after each line of html lets everything get through to the browser.