Malcolm Tredinnick
|
439cb4047f
|
Fixed #4040 -- Changed uses of has_key() to "in". Slight performance
improvement and forward-compatible with future Python releases. Patch from Gary
Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-26 13:30:48 +00:00 |
Adrian Holovaty
|
6fa3498d9f
|
Reverted [3919] because it requires mod_python 3.2.10+
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-25 02:55:51 +00:00 |
Adrian Holovaty
|
9c4918e16d
|
Fixed #2865 -- Reverted [3866] (problem with mod_python SERVER_PORT
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 16:54:32 +00:00 |
Adrian Holovaty
|
8a8472d300
|
Changed django.core.handlers.modpython ModPythonRequest.is_secure() to use req.is_https(). Thanks, Jeremy Dunck
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 16:07:39 +00:00 |
Adrian Holovaty
|
f638234932
|
Removed ENABLE_PSYCO setting. If you still need to use this, write custom middleware that activates psyco for you.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-28 02:31:05 +00:00 |
Adrian Holovaty
|
beeb719c12
|
Folded django.core.handlers.modpython.populate_apache_request into ModPythonHandler.__call__() to save the overhead of a function call, and because that logic didn't need to be abstracted.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-28 02:07:00 +00:00 |
Adrian Holovaty
|
15e7805ae4
|
Changed BaseHandler.get_response() to take a single parameter (an HttpRequest object) rather than a URL and the HttpRequest object, which is redundant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-28 01:56:02 +00:00 |
Adrian Holovaty
|
b019331f44
|
Fixed #2782 -- Fixed incorrect request.META['SERVER_PORT'] for mod_python.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 16:00:52 +00:00 |
Malcolm Tredinnick
|
f1c63992f7
|
Fixed #2745 -- Made the __repr__ methods for modpython and wsgi request more
robust in the face of bad input, since they are needed for error handling.
Based on a patch from md@hudora.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 07:25:12 +00:00 |
Malcolm Tredinnick
|
c3d7aad6d0
|
Fixed #2560 -- Add close() support to HttpResponse iterators. Thanks, Ivan
Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 12:32:00 +00:00 |
Jacob Kaplan-Moss
|
a926046ba6
|
Second half of little cleanup tweaks suggested by pyflakes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 20:39:17 +00:00 |
Jacob Kaplan-Moss
|
e9a236d86c
|
Fixed #2092: added a "is_secure()" method to HttpRequest which correctly 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-21 16:20:22 +00:00 |
Adrian Holovaty
|
136752ca9a
|
Added 'method' attribute to HttpRequest objects
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-20 03:48:31 +00:00 |
Adrian Holovaty
|
f69cf70ed8
|
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly 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-05-02 01:31:56 +00:00 |
Adrian Holovaty
|
bc4638d722
|
Fixed #1569 -- HttpResponse now accepts iterators. Thanks, Maniac
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-09 23:54:34 +00:00 |
Adrian Holovaty
|
f86004a4d3
|
Fixed #1376 -- Undid [2358], which broke flatpages. Thanks, Tom Tobin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-20 04:36:17 +00:00 |
Adrian Holovaty
|
2c443df341
|
Fixed #894 -- Moved response middleware call to base.py so that exceptions in that middleware get processed by the standard exception handling. As a nice side effect, this cuts down on a bit of redundant code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 23:41:17 +00:00 |
Adrian Holovaty
|
567e4e4411
|
Fixed #1323 -- Added ENABLE_PSYCO. Thanks, Wojtek.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-03 15:18:20 +00:00 |
Adrian Holovaty
|
3cb20c45c7
|
Moved Apache auth handler to django/contrib/auth/handlers/modpython.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-30 01:14:23 +00:00 |
Jacob Kaplan-Moss
|
ae76186a4f
|
Added mod_python authentication handler and document on authenticating against Django's auth database from Apache
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-29 18:26:07 +00:00 |
Adrian Holovaty
|
ab9aacd4db
|
Fixed #333 and #440 -- Split DEFAULT_MIME_TYPE setting into 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-10-06 02:27:08 +00:00 |
Adrian Holovaty
|
07889c13a6
|
Fixed #1 -- Added anonymous session support via middleware and request.session. Removed the former request.session, which wasn't being used anyway. Removed auth.Session model. See the BackwardsIncompatibleChanges wiki page for IMPORTANT notes on code you'll have to change and a DB table you'll have to create.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 22:54:05 +00:00 |
Adrian Holovaty
|
d22e88898f
|
Changed handlers (both mod_python and WSGI) to support setting multiple cookies per request
git-svn-id: http://code.djangoproject.com/svn/django/trunk@511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 22:47:41 +00:00 |
Adrian Holovaty
|
fcfb8edc15
|
Fixed #126 -- HttpRequest now has a 'raw_post_data' attribute.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 22:12:05 +00:00 |
Adrian Holovaty
|
c97efb6799
|
Fixed #63 -- Refactored django.core.handlers into subclasses to remove duplicate code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-22 18:34:38 +00:00 |
Adrian Holovaty
|
e215ed3609
|
Fixed #102 -- Now using text/plain mimetype for exceptions displayed in the browser, so angle brackets are no longer an issue
git-svn-id: http://code.djangoproject.com/svn/django/trunk@241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-20 06:13:06 +00:00 |
Adrian Holovaty
|
20820f2e85
|
Made ModPythonHandler.get_response() tolerant of repr(request) that has an exception
git-svn-id: http://code.djangoproject.com/svn/django/trunk@232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-20 00:47:10 +00:00 |
Adrian Holovaty
|
cf4c164e9f
|
Changed core.handlers.modpython.populate_apache_request NOT to have side effects on http_response. This has no effect on legacy code but will prevent problems in new code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 20:14:05 +00:00 |
Adrian Holovaty
|
ca3d89b70f
|
Added WSGI support. Created core.handlers package. Moved ALL 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-18 06:30:26 +00:00 |