On Tue, Jun 21, 2016 at 11:38 AM, Alexander Moskalev <ir...@irker.net> wrote:
> Sorry for annoying mail, but it's really small and simple feature, which > can be implemented by few lines of curl options. But with API realisation > questions. > Please, help me to choose correct way, and I will create new pull-request > with code and tests. > Hi Alexander, Thank you for this — I wonder if it's possible to make it so that you can pass a filename, or a valid stream (or stream URL) to CURLFile — this would solve the issue, as you can use a memory stream, have no extra classes, no ambiguity of "is it a filename" vs "is it a string of data". Thoughts? - Davey