openstack.net icon indicating copy to clipboard operation
openstack.net copied to clipboard

CloudFilesProvider.CreateObject doesn't support streams of unknown length

Open sharwell opened this issue 12 years ago • 2 comments

The current implementation of CreateObject requires the stream implement the Length property. It would be helpful to also support streams where this property throws a NotSupportedException.

sharwell avatar Oct 04 '13 15:10 sharwell

this is actually pretty usefull feature, because when you proxy the stream into Swift you sometime dont know proper lenght of the stream.

LightCZ avatar Dec 12 '15 06:12 LightCZ

Agreed. I shouldn't have to create an intermediary stream to work around this issue.

JoshMcCullough avatar Feb 02 '16 18:02 JoshMcCullough