Add InputStream support for the upload method
Closed this issue · 2 comments
kevinmichaelchen commented
Currently, upload
only supports File and URL parameters. It'd be nice to support InputStream so you can e.g., stream bytes from a database into MediaWiki.
MER-C commented
Sorry for the late reply. I've been thinking about this... what about dumping the stream contents to a temporary file and passing that? I'm very hesitant to add new overloads.
MER-C commented
Closing, no response.