summaryrefslogtreecommitdiff
path: root/django/utils/httpwrappers.py
AgeCommit message (Collapse)Author
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-11Fixed #1569 -- Made streaming HttpResponse unicode-awareAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10Fixed syntax error in [2639]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10Changed settings imports from [2639] to use 'from django.conf import ↵Adrian Holovaty
settings', to make it easier to merge to magic-removal git-svn-id: http://code.djangoproject.com/svn/django/trunk@2640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-09Fixed #1569 -- HttpResponse now accepts iterators. Thanks, ManiacAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-28Fixed #1539 in trunkAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03Fixed #1117 -- Added HttpResponsePermanentRedirectAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Fixed bug in QueryDict parse_sql() call under mod_python, which requires ↵Adrian Holovaty
query_string to be an empty string, not None git-svn-id: http://code.djangoproject.com/svn/django/trunk@1505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Fixed #736 -- Changed behavior of QueryDict items() to be more consistent, ↵Adrian Holovaty
fixed mutability holes, gave MultiValueDict many more dictionary methods and added unit tests. Thanks, Kieran Holland. This is slightly backwards-incompatible if you happened to rely on the behavior of QueryDict.items(), which is highly unlikely. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Moved parse_sql import in django.utils.httpwrappers to the top of the ↵Adrian Holovaty
module, not inside QueryDict.__init__() git-svn-id: http://code.djangoproject.com/svn/django/trunk@1503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Small importing change in django.utils.httpwrappers. Refs #736.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01Fixed #508 -- Added support for 'expires' in cookies and changed session ↵Adrian Holovaty
middleware to set 'expires' in addition to 'max_age'. Thanks, mark@junklight.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@1035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06Fixed #333 and #440 -- Split DEFAULT_MIME_TYPE setting into ↵Adrian Holovaty
DEFAULT_CONTENT_TYPE and DEFAULT_CHARSET. Thanks, Maniac. git-svn-id: http://code.djangoproject.com/svn/django/trunk@786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27Fixed #567 -- Added HttpRequest.has_key() method. Thanks, wojtek3@brandlay.comAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Fixed #543 -- Fixed broken mod_python support due to an import in the wrong ↵Adrian Holovaty
place git-svn-id: http://code.djangoproject.com/svn/django/trunk@672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Fixed #333 -- Added DEFAULT_MIME_TYPE setting, and set it to 'text/html; ↵Adrian Holovaty
charset=utf-8' by default git-svn-id: http://code.djangoproject.com/svn/django/trunk@670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Fixed #236 -- Added HttpResponse.delete_cookie() method.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02Fixed #394 -- Trailing-slash redirects now retain duplicate name-value ↵Adrian Holovaty
query-string pairs, instead of the first of each pair. Added a QueryDict.urlencode() method to accomplish this. Updated the docs. Thanks for the good catch, mlambert git-svn-id: http://code.djangoproject.com/svn/django/trunk@613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01Refactored the HttpResponse subclasses a tiny bit to use args and kwargs ↵Adrian Holovaty
instead of hard-coded init() params git-svn-id: http://code.djangoproject.com/svn/django/trunk@591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Added WSGI support. Created core.handlers package. Moved ALL ↵Adrian Holovaty
mod_python-specific code to django.core.handlers.modpython. Note that django.core.handler is still a valid mod_python handler but IS DEPRECATED. Use django.core.handlers.modpython, instead. git-svn-id: http://code.djangoproject.com/svn/django/trunk@169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Rolled django.core.extensions.DjangoRequest into ↵Adrian Holovaty
django.utils.httpwrappers.ModPythonRequest, in preparation for WSGI support git-svn-id: http://code.djangoproject.com/svn/django/trunk@167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Changed django.utils.httpwrappers.parse_file_upload() NOT to be coupled to ↵Adrian Holovaty
mod_python git-svn-id: http://code.djangoproject.com/svn/django/trunk@165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-13Imported Django from private SVN repository (created from r. 8825)Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37