<div class="gmail_quote">On Tue, Feb 9, 2010 at 19:38, Catonano <span dir="ltr">&lt;<a href="mailto:catonano@gmail.com">catonano@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello people,<br><br>I&#39;m taking a look at the HTTPPageDownloader implementation and there&#39;s a thing I don&#39;t understand.<br><br>There these three methods:<br><br><ol><li>handleStatus_200</li><li>handleResponsePart</li>

<li>handleResponseEnd</li></ol>How does the reactor know it has to call these methods ?<br><br>What if I want to add or remove or modify a method ? Will the reactor call them correctly anyway ? How comes ?<br><br>Thanks for any hint<br>

Catonano<br><font color="#888888"><br><br>-- <br>La difesa più sicura contro il male è l&#39;estremo individualismo, l&#39;originalità di pensiero, la stravaganza, perfino, se volete, l&#39;eccentricità… Il male va matto per la solidarietà.<br>

<br>Less than one di Joseph Brodsky<br>
</font><br>_______________________________________________<br>
Twisted-web mailing list<br>
<a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web</a><br>
<br></blockquote></div>Hi,<br>   1. You can find it in handleEndHeaders, which decides to call method &#39;handleStatus_&#39; + status if the method exists.<br>   2.3. These two method are called in method rawDataReceived in class HTTPClient, which is HTTPPageDownloader&#39;s parent.<br>
<br>   I think you can grep all source files of twisted to find most answers if you don&#39;t know where is one method called. :)<br><br>---<br>wwwjfy<br>