jayvdb / pywikibot-core (http-request-signature)
Build #108 passed.
36 minutes and 45 seconds
John Vandenberg 24c9eb2 Changeset →
  http.request signature

Add method, body and headers as explicit arguments of http.request.
These are the standard arguments of httplib2's request method, and
other http packages have similar arguments.
Including them as explicit arguments makes it clearer from the function
is capable of, allows static checking of invocations, and forces these
parameters into the *args of threadedhttp.HttpRequest() instead of kwargs.
It also allows *args to be removed from the http.request function signature,
as it is no longer necessary.

Also deprecate using http.request for non-site requests.

Change-Id: Id4008cd470b224ffcd3c0b894bba90a25e7611bd
System message:

We just switched the default image for OS X jobs to our new image including Xcode 6.1. See our blog post for a full list of changes.

Would you like to test your private code?

Travis Pro could be your new best friend!