/TODO
https://bitbucket.org/sloft/pynav/ · #! · 41 lines · 34 code · 7 blank · 0 comment · 0 complexity · a610d52d825f9c08054ddbe7477bdb88 MD5 · raw file
- --Browser
- #TODO
- #Features
- # Rename printing fd.dump(0) to b.r.dump_form() in formdumper
- # Browser.download() should use the same browser environnement (Browser.handle instance or Browser_url_opener)
- # Add objet UserAgent, UserAgent.os, UserAgent.name, UserAgent.version
- # Add change UserAgent methods
- # Write cookies
- # Browser.download() could print the download progression like wget
- # Add file upload support for POST
- # Browser.open() only read headers ? Try with a big file: It seems the handler starts reading 212709 bytes
- #Qual
- # Add an History object: Browser.history.save(), Browser.history.load()
- # Remove the 'user_agents_list' and add that as an __init__ argument
- # Improve docstrings: http://diveintopython3.org/your-first-python-program.html
-
- --Response
- #TODO
- --FormDumper
- #TODO
- #Features
- # Update FormFumper to add post values feature to FormFumper in standalone mode
- #Qual
- # Move forms methods to Browser to avoid double GET/POST urls, drawback: no history will be kept.
- # ex: Browser.dump_form(url, values')
- # Better choice: update ClientForm to compute html instead of read it from an url. History will be kept.
- # Current drawbacks: ClientForm can only access to public pages
- # ClientForm already do read() addinfourl object got from urlopen
- ##Misc
- # Generate Sphynx documentation
- # Docs:
- # http://pypi.python.org/pypi?:action=display&name=zope.testbrowser
- # http://twill.idyll.org/
- # HOWTO Fetch Internet Resources Using urllib2: http://docs.python.org/howto/urllib2.html
- # http://fr.wikipedia.org/wiki/Hypertext_Transfer_Protocol