1. Have httplib2 cache an moderately complex and/or large image off a
server that returns the right headers for caching. Use FileCache (by
passing a string path to the Http constructor).
2. Rerequest the image.
3. See traceback!
You expect to pull the image off of your hard drive. Instead there was junk.
This is fixed by changing the file read and write modes in the FileCache
class to "rb" and "wb" respectively.
Original issue reported on code.google.com by kevinwat...@gmail.com on 11 Mar 2008 at 8:56
Original issue reported on code.google.com by
kevinwat...@gmail.com
on 11 Mar 2008 at 8:56