1. 17 Jun, 2011 1 commit
    • Lucas Carvalho's avatar
      Following API definition. · 3614c2e5
      Lucas Carvalho authored
      The select method  must return the file from shacache.
      And the download method should return the file content instead of path.
      3614c2e5
  2. 16 Jun, 2011 2 commits
    • Lucas Carvalho's avatar
      Raise MultipleFileFoundError. · 123d209d
      Lucas Carvalho authored
      If the directory has more than one entry, the lib must raise such Error.
      123d209d
    • Lucas Carvalho's avatar
      Use urlretrieve instead of httplib. · 51839a7f
      Lucas Carvalho authored
      httplib does not handle the download as expected.
      The implementation of urlretrieve is much better and consistent, it does
      the download
      writing in chunks instead of loading all the file content into memory.
      
      Also, the httplib can easily break the file content, if the client does
      not
      handle it. And this lib must be very simple.
      
      The timeout is not in favor of httplib GET method.
      
      Based in the above reasons, httplib was replaced to
      urlretrieve, once there is no reason to reimplement what already exists.
      51839a7f
  3. 15 Jun, 2011 4 commits
  4. 14 Jun, 2011 7 commits