kvesteri / flask-storage

Various file storage backends for Flask applications.
MIT License
20 stars 6 forks source link

Make sure file reading works #9

Closed oskarihiltunen closed 11 years ago

oskarihiltunen commented 11 years ago

As mentioned in #8, Python's file objects don't support an offset argument to read. Based on the docs, Amazon's keys don't support that either, so its functionality should be tested. It should also be made sure the other storages don't make this mistake and support a uniform API concerning read and seek.

oskarihiltunen commented 11 years ago

This should have been fixed by commits 7cdcf6351df826db2251529ec27a5ea46189da66 through 2218309338736479d3a5cbe2430d1ac099efebc7. I couldn't test the cloudfiles, though.