<DIV>How will I know when the data for the webpage is complete?&nbsp; Is handleRequestEnd supposed to be called when that happens, or is that called after *I* call request.finish()?<BR><BR><B><I>Jp Calderone &lt;exarkun@divmod.com&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Sat, 11 Jun 2005 00:28:38 -0700 (PDT), Andrea Soong <GIRLONCRACK@YAHOO.COM>wrote:<BR>&gt;Hi all,<BR>&gt;<BR>&gt;First off, I'd like to say thanks to Ken Whitesell for giving me some much needed help.<BR>&gt;<BR>&gt;Here's my problem: I am using an HTTPClient instance to connect to a webpage, and am trying to retrieve its contents and display to the screen line by line, using the lineReceived method. This is all being done in an .rpy file. For some reason, I am only receiving the header information:<BR><BR>The header section of an HTTP response is line-oriented. The body section is not. HTTPClient uses both of LineReceivers modes, so for the header section, lineReceived gets called, then for the body section, rawDataReceived gets called.<BR><BR>If you override both of these, you should see all of the data from the server. Of course, the data passed to rawDataReceive isn't going to
 be broken up into lines...<BR><BR>Jp<BR><BR>_______________________________________________<BR>Twisted-Python mailing list<BR>Twisted-Python@twistedmatrix.com<BR>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python<BR></BLOCKQUOTE></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com