Mpaa added a subscriber: Anomie. Mpaa added a comment.
In T132676#6577051 <https://phabricator.wikimedia.org/T132676#6577051>, @Anomie wrote: > In T132676#6575067 <https://phabricator.wikimedia.org/T132676#6575067>, @Mpaa wrote: > >> @Anomie is base64 encode supported by api action=upload? > > Not in itself, but you can use MIME's Content-Transfer-Encoding to encode the data as base64 rather than binary. > > Since I no longer work for the WMF, I'm not inclined to do much to do their work for them at this time. OK, thanks. As info for future readers, I tried but if I set base64 there is a mismatch with filesize. At the end it gives an error saying that filesize does not match (as if it is adding the size of the base64-encoded chunks, maybe, and then it gets more data than declared in filesize). TASK DETAIL https://phabricator.wikimedia.org/T132676 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa Cc: Anomie, AntiCompositeNumber, Fae, Mpaa, Avicennasis, MarkTraceur, Multichill, Liuxinyu970226, pywikibot-bugs-list, Matanya, matmarex, czar, Aklapper, Steinsplitter, zhuyifei1999, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
