Skip to content
Snippets Groups Projects
  1. May 09, 2016
  2. Aug 12, 2015
  3. Aug 18, 2014
    • Dan Michael O. Heggø's avatar
      [#45] replace http.py with the Requests library · 593cb44c
      Dan Michael O. Heggø authored
      - Note the following exception replacements:
        mwclient.errors.HTTPError -> requests.exceptions.ConnectionError
        mwclient.errors.HTTPStatusError -> requests.exceptions.HTTPError
        mwclient.errors.HTTPRedirectError -> requests.exceptions.TooManyRedirects
      
      - Removed the `compability.old_upload` method, which was used for
        MediaWiki < 1.16.
      
      - Requests automatically decompresses gzip-encoded responses, and
        does its best to decode response content to unicode when possible.
      
      - [#53] Using the Responses library to mock http requests in tests
      593cb44c
  4. Jun 15, 2014
  5. May 11, 2013
  6. Feb 22, 2013
Loading