So, it's not a hard limit on the size of the page that can be sent -- each line just eats one character off the end of the output. Kind of reminds me of the story of the 500-mile e-mail (http://www.ibiblio.org/ harris/500milemail.html).
Another test, which probably won't show this defect: try running the same app with the built-in webpy server, from the command line. (And maybe, for the sake of science, CGI via Apache.) I see you're running this on Windows. The web.py devs don't, I'm pretty sure. I haven't tried Apache+WSGI+Windows, but I haven't seen this problem in testing with Windows and the built-in server (CherryPy, I think). The \r\n versus \n difference could possibly, in a convoluted way, account for the 1 line => -1 char phenomenon through web.py's WSGI implementation. Unfortunately I don't know that part of the code, so I can't guess where the problem would be in it. Take a look, maybe. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
