/TODO

https://bitbucket.org/sloft/pynav/ · #! · 41 lines · 34 code · 7 blank · 0 comment · 0 complexity · a610d52d825f9c08054ddbe7477bdb88 MD5 · raw file

  1. --Browser
  2. #TODO
  3. #Features
  4. # Rename printing fd.dump(0) to b.r.dump_form() in formdumper
  5. # Browser.download() should use the same browser environnement (Browser.handle instance or Browser_url_opener)
  6. # Add objet UserAgent, UserAgent.os, UserAgent.name, UserAgent.version
  7. # Add change UserAgent methods
  8. # Write cookies
  9. # Browser.download() could print the download progression like wget
  10. # Add file upload support for POST
  11. # Browser.open() only read headers ? Try with a big file: It seems the handler starts reading 212709 bytes
  12. #Qual
  13. # Add an History object: Browser.history.save(), Browser.history.load()
  14. # Remove the 'user_agents_list' and add that as an __init__ argument
  15. # Improve docstrings: http://diveintopython3.org/your-first-python-program.html
  16. --Response
  17. #TODO
  18. --FormDumper
  19. #TODO
  20. #Features
  21. # Update FormFumper to add post values feature to FormFumper in standalone mode
  22. #Qual
  23. # Move forms methods to Browser to avoid double GET/POST urls, drawback: no history will be kept.
  24. # ex: Browser.dump_form(url, values')
  25. # Better choice: update ClientForm to compute html instead of read it from an url. History will be kept.
  26. # Current drawbacks: ClientForm can only access to public pages
  27. # ClientForm already do read() addinfourl object got from urlopen
  28. ##Misc
  29. # Generate Sphynx documentation
  30. # Docs:
  31. # http://pypi.python.org/pypi?:action=display&name=zope.testbrowser
  32. # http://twill.idyll.org/
  33. # HOWTO Fetch Internet Resources Using urllib2: http://docs.python.org/howto/urllib2.html
  34. # http://fr.wikipedia.org/wiki/Hypertext_Transfer_Protocol