Source

django / django / http / __init__.py

Author Commit Message Labels Comments Date
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Removed some dead code, and old/bad constructs from the HttpResponse classes.
jez...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #4992 -- Respect the GET request query string when creating cache keys. Thanks PeterKz and guettli for the initial patch.
ram...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #13007 -- Made cookie parsing resilent to the presence of cookies with invalid characters in their names. Thanks Warlax for the report, Ubercore for his work on a fix and Jannis and Luke for review and guidance.
luke...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Rationalised CompatCookie/SimpleCookie into single SimpleCookie class with all fixes. Since upstream Python has fixed the encoding bug (see http://bugs.python.org/issue9824), we don't want a separate class for this bug fix, or several layers for the different fixes.
Smil...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #14809 -- broken login related tests after r14733.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #3304 -- Added support for HTTPOnly cookies. Thanks to arvin for the suggestion, and rodolfo for the draft patch.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #14594 -- Corrected r14435, which got the logic completely bass ackwards. Thanks to Mark Sundstrom for keeping me honest :-)
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #14594 -- Corrected a problem introduced by r14394 whereby reading POST data when running a WSGI server under CherryPy would hang. Thanks to Mark Sundstrom for the report.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #9886 -- Added a file-like interface to HttpRequest. Thanks to Ivan Sagalaev for the suggestion and patch.
luke...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Consistent imports for parse_qsl function, avoiding the `PendingDeprecationWarning` under Python 2.6 and later
mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Allow setting HttpResponse cookie expiry times with datetime objects. Patch from SmileyChris. Fixed #7770.
mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Improved unicode-type, ASCII-convertible header handling in HttpResponse. Fixed #8765. Thanks to SmileyChris and semenov for working on this one.
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #13572: copies of QueryDicts now have their encoding set correctly.
kmtr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #11522: Restored ability of http redirect responses to correctly handle redirect locations with non-ASCII chars.
luke...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #12470 - django.contrib.messages CookieStorage failing silently in safari when comma is used in message This issue was fixed by changing the underlying cookie storage mechanism. This will fix other bugs with cookies for Internet Explorer and Safari, but could also cause backwards incompatibilities with existing javascript that may parse cookie values that contain commas or semi-colons, and, very rarely, with existing cookie values.
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #11753 - Q objects with callables no longer explode on Python 2.4. Thanks, Jeremy Dunck.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed edge case that breaks the test suite on versions of Python > 2.6.4 Before http://svn.python.org/view?view=rev&revision=74647 it was possible to pass a SimpleCookie to load, but this no longer works due to a different bug in Python the said revision fixed. My guess is a SimpleCookie was never intended to be passed through load which is perfectly reasonable.
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed a silly function flow bug in [10711].
mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #10267 -- Correctly handle IRIs in HttpResponse.build_absolute_uri().
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #10184: QueryDicts with multiple values can now be safely pickled. Thanks, Alex Gaynor.
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #8278: fixed `QueryDict.update(QueryDict)`. Thanks, julien.
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed an inconsistancy in redirects with `META['SERVER_PORT']` being either a string or an int.
mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #7494 -- Fixed build_absolute_url() for some types of (uncommon) URLs. Patch from tom@almostobsolete.net and RobotAdam.
mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #7233 -- Ensured that QueryDict classes are always unpicklable. This problem only arose on some systems, since it depends upon the order in which the attributes are pickled. Makes reliable testing kind of tricky.
gwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #8092, #3828 -- Removed dictionary access for request objects so that 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.
mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Changed/fixed the way Django handles SCRIPT_NAME and PATH_INFO (or equivalents). Basically, URL resolving will only use the PATH_INFO and the SCRIPT_NAME will be prepended by reverse() automatically. Allows for more portable development and installation. Also exposes SCRIPT_NAME in the HttpRequest instance. There are a number of cases where things don't work completely transparently, so mod_python and fastcgi users should read the relevant docs. Fixed #285, #1516, #3414.
mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Revert [7991] - [7993]. I was committing from the wrong branch. Sorry 'bout that, folks. :-(
mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
First part of setting request.path correctly. Still needs: - testing - docs changes - some way of fixing reverse().
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #2070: refactored Django's file upload capabilities. 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.
mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #6616 -- Added an is_ajax() method to HttpRequest that uses the de facto standard header for detecting an XmlHttpRequest call. Thanks, Daniel Lindsley.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next