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