Ticket #545: django-avoid-import-hack.patch
File django-avoid-import-hack.patch, 559 bytes (added by , 19 years ago) |
---|
-
django/utils/httpwrappers.py
2 2 from pprint import pformat 3 3 from urllib import urlencode 4 4 import datastructures 5 from django.conf.settings import DEFAULT_MIME_TYPE 5 #from django.conf.settings import DEFAULT_MIME_TYPE 6 DEFAULT_MIME_TYPE='text/html' 6 7 7 8 class HttpRequest(object): # needs to be new-style class because subclasses define "property"s 8 9 "A basic HTTP request"