geemus/excon — pull request #162 by brianhartsock (2012-11-10 01:03:52+00:00)
Title: Set body file position to 0 before reading

I noticed an issue with Fog::Storage files. If you repeatedly saved a fog File object, the underlying body file object would never have its position reset.

I figured changing Excon would make sense, especially since the error handling reset the file position anyways. There are a couple other solutions though:

* Set position after reading back to 0
* Set position after reading back to the original position (may not be 0)
* Fix in Fog. This could be done, but considering Excon already rewinds and sets position, it seems like this is fine.

Let em know your thoughts.