diff --git a/README.rst b/README.rst index 43281e93..2a9208cc 100644 --- a/README.rst +++ b/README.rst @@ -2,8 +2,8 @@ Requests: HTTP for Humans ========================= -.. image:: https://secure.travis-ci.org/kennethreitz/requests.png?branch=master - :target: https://secure.travis-ci.org/kennethreitz/requests +.. image:: https://secure.travis-ci.org/kennethreitz/requests.png?branch=develop + :target: https://secure.travis-ci.org/kennethreitz/requests Requests is an ISC Licensed HTTP library, written in Python, for human beings. diff --git a/requests/models.py b/requests/models.py index 7eb3efe7..40187244 100644 --- a/requests/models.py +++ b/requests/models.py @@ -7,10 +7,14 @@ requests.models This module contains the primary objects that power Requests. """ -import json import os from datetime import datetime +try: + import simplejson as json +except ImportError: + import json + from .hooks import dispatch_hook, HOOKS from .structures import CaseInsensitiveDict from .status_codes import codes