aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/utils.py')
-rw-r--r--djangorestframework/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/djangorestframework/utils.py b/djangorestframework/utils.py
index d45e5acf..8b12294c 100644
--- a/djangorestframework/utils.py
+++ b/djangorestframework/utils.py
@@ -14,6 +14,7 @@ except ImportError:
# """Adds the ADMIN_MEDIA_PREFIX to the request context."""
# return {'ADMIN_MEDIA_PREFIX': settings.ADMIN_MEDIA_PREFIX}
+MSIE_USER_AGENT_REGEX = re.compile(r'^Mozilla/[0-9]+\.[0-9]+ \([^)]*; MSIE [0-9]+\.[0-9]+[a-z]?;[^)]*\)(?!.* Opera )')
def as_tuple(obj):
"""Given obj return a tuple"""