Sn1per added a comment.

I noticed that pywikibot.comms.http.fetch and other related methods claim to use the same kwargs as requests.Session.request in their docstrings, but pywikibot http methods use a body parameter to provide data for the Requests method's data parameter. (the body/data parameter corresponds to an HTTP POST body) This could be a bit confusing and should be changed to be more consistent unless there's some other naming conflict I don't know about.


TASK DETAIL
https://phabricator.wikimedia.org/T153559

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Sn1per
Cc: gerritbot, Aklapper, jayvdb, pywikibot-bugs-list, Th3d3v1ls, SacredWKnight, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, D3r1ck01, Avicennasis, Dalba, Masti, Alchimista, Rxy, Jay8g
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to