summaryrefslogtreecommitdiff
path: root/docs/request_response.txt
AgeCommit message (Collapse)Author
2008-08-23Massive reorganization of the docs. See the new docs online at ↵Jacob Kaplan-Moss
http://docs.djangoproject.com/. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-03Fixed #8092, #3828 -- Removed dictionary access for request objects so that ↵Gary Wilson Jr
GET and POST data doesn't "overwrite" request attributes when used in templates (since dictionary lookup is performed before attribute lookup). This is backwards-incompatible if you were using the request object for dictionary access to the combined GET and POST data, but you should use `request.REQUEST` for that instead. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01Fixed #2070: refactored Django's file upload capabilities.Jacob Kaplan-Moss
A description of the new features can be found in the new [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]; the executive summary is that Django will now happily handle uploads of large files without issues. This changes the representation of uploaded files from dictionaries to bona fide objects; see BackwardsIncompatibleChanges for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-30Added 'Setting headers' and 'Telling the browser to treat the response as a ↵Adrian Holovaty
file attachment' sections to docs/request_response.txt git-svn-id: http://code.djangoproject.com/svn/django/trunk@7510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-25Edited some docs changes from the past few daysAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20Fixed #6616 -- Added an is_ajax() method to HttpRequest that uses the de factoMalcolm Tredinnick
standard header for detecting an XmlHttpRequest call. Thanks, Daniel Lindsley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18Fixed #6382: Documented request.urlconfJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-16Made a bunch of small doc rewordings from changes over the past couple of weeksAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-04Fixed #6278 -- Documented that the 404 template is passed a RequestContext ↵Malcolm Tredinnick
and the 500 handler is not. Thanks, Rob Hudson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17Fixed #6119 -- Documented HttpRequest.get_host(). Thanks, PJCrosier.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17Small typo fixes. Thanks, jdetaeye, Ionut Ciocirlan, David Reynolds and adamv.Malcolm Tredinnick
Fixed #6123, #6133, #6179, #6194. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04Edited docs/request_response.txt changes from [6808]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01Correcting some awkward wording/spelling in docs/request_response.txt while ↵James Bennett
I'm in there git-svn-id: http://code.djangoproject.com/svn/django/trunk@6809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01Fixed #5550: Documented the context used by the default view for 404 and 500 ↵James Bennett
errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-10Fixed #5723 -- Fixed typo in request response docs. Thanks, derelm.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20Fixed #5525 -- Fixed typo in docs/request_response.txt. Thanks, Thomas GuttlerAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Added 'New in Django development version' note to docs/request_response.txt ↵Adrian Holovaty
change from [6164] git-svn-id: http://code.djangoproject.com/svn/django/trunk@6189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #987 -- Convert relative URI portions into absolute URIs in HTTP ↵Malcolm Tredinnick
Location headers. Based on a patch from SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Edited docs/request_response.txt change from [6155]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #4726 -- Added a note about the exception raised by QuerySet.__getitem__.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Added "new in development version" annotation to HttpRequest.encoding ↵Malcolm Tredinnick
documentation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Documented the encoding attribute on the HttpRequest class.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Fixed #3526 -- Added content_type as an alias for mimetype to the ↵Malcolm Tredinnick
HttpResponse constructor. It's a slightly more accurate name. Based on a patch from Simon Willison. Fully backwards compatible. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06Fixed #4985 -- Clarified location of HttpResponse in ↵Adrian Holovaty
docs/request_response.txt. Thanks for raising the issue, rainer.mansfeld@romulo.de git-svn-id: http://code.djangoproject.com/svn/django/trunk@5817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-23Added HTTP_HOST example headerSimon Willison
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09Fixed #3968 -- Fixed typo in docs/request_response.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01Documented HttpResponseBadRequest. Refs #3847 and [4867]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23Remove notes about things added/removed in development version, since the ↵James Bennett
development version is about to become 0.96 git-svn-id: http://code.djangoproject.com/svn/django/trunk@4804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-18Copy edited new docs in docs/request_response.txt from [4534]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-17Fixed #2906 -- Added documentation about HTTP error code returns and theMalcolm Tredinnick
default 404 and 500 code error handlers. Based on a patch from Marc Fargas. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24Fixed #3333 -- Docs now use relative links, not hard-coded djangoproject.com ↵Adrian Holovaty
links. Thanks for the patch, SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@4420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23Fixed #2929 -- Replaced a few occurrences of DEFAULT_MIME_TYPE with the correctMalcolm Tredinnick
DEFAULT_CONTENT_TYPE setting variable. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-09Fixed #2503 -- Fixed HttpResponse.delete_cookie() to work properly. It now ↵Adrian Holovaty
takes path and domain as optional keyword arguments. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21Fixed #2092: added a "is_secure()" method to HttpRequest which correctly ↵Jacob Kaplan-Moss
handles the subtleties of mod_python's interaction with os.environ. This one's been bugging me for about a *year*, so many many thanks to k.shaposhnikov@gmail.com for figuring it out, and Tim Shaffer for pointing out this ticket. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19Fixed #2332 -- Introduced is_authenticated() method on User and ↵Malcolm Tredinnick
AnonymousUser classes. Recommended its use over is_anonymous in the docs. Changed internal Django use to match this recommendation. Thanks to SmileyChris and Gary Wilson for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-22Fixed typo in docs/request_response.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21Fixed a few small rst errors in request/response and fastcgi docs.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20Added 'method' attribute to HttpRequest objectsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19Fixed #1646 -- Added HttpResponseNotAllowed, as suggested by Ian Holsman.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09Fixed #1815 -- Fixed ReST errors in docs. Thanks, nico@teknico.netAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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-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-01-11Removed 'Only in Django development version' messages from the docs, because ↵Adrian Holovaty
frozen docs for version 0.90 are now available git-svn-id: http://code.djangoproject.com/svn/django/trunk@1898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08Fixed bug in docs/request_response.txt. Thanks, Anders HovmöllerAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1868 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 #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-30Fixed #709 -- Added a __contains__ method to MultiValueDict. Thanks, BrantleyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1498 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-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 #236 -- Added HttpResponse.delete_cookie() method.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@668 bcc190cf-cafb-0310-a4f2-bffc1f526a37