Changes between Version 4 and Version 5 of GSoC2013


Ignore:
Timestamp:
03/27/2013 07:59:33 AM (18 months ago)
Author:
itamar
Comment:

getPage rewrite

Legend:

Unmodified
Added
Removed
Modified
  • GSoC2013

    v4 v5  
    2525== Project Ideas == 
    2626 
    27 More coming soon. 
     27(More coming soon). 
    2828 
    29 === Deferred Cancellation === 
     29'''Deferred Cancellation''' 
    3030 
    3131Deferreds are Twisted's abstraction for an eventual result of a task. They are thus a good place to have a hook for cancelling the task, and they provide a cancellation API. However, many Twisted APIs that return Deferreds don't provide cancellation support. The project would involve adding cancellation support to as many APIs as possible (e.g. various protocol clients like HTTP, POP3, SMTP, etc. that are missing it), starting with easy cases and moving on to more difficult ones. 
    3232 
     33What you'll learn: a good knowledge of event-driven programming, and a little bit about lots of different parts of Twisted. 
     34 
     35'''Rewrite twisted.web.client.getPage using Agent''' 
     36 
     37Twisted has two HTTP client APIs; the new one is Agent, the old one getPage based on a much less featureful HTTP implementation. Rewriting getPage to use Agent would allow old code to benefit from the features added in Agent (e.g. chunked encoding), while preserving backwards compatibility. 
     38 
     39What you'll learn: how HTTP works, and the high-level APIs users expect. 
    3340 
    3441== Getting Started with Twisted Development ==