[Twisted-Python] Emulating urllib.read()-behaviour with twisted.web.client
9 Dec
2007
9 Dec
'07
11 p.m.
Hello, I'm currently switching from the urllib library to twisted.web.client in my HTTP Download Class. How can I emulate urllib.read(bytes=None) behaviour with twisted.web.client? (only reading n bytes of the ressource, if the bytes parameter is given). The second difficulty (at least from my twisted newbie perspective) is to return the downloaded data to the method caller outside the class. Any hints are appreciated.. Thanks, Franz
5977
Age (days ago)
5977
Last active (days ago)
0 comments
1 participants
participants (1)
-
Franz Buchinger