Author: adrian
Date: 2007-12-01 11:33:14 -0600 (Sat, 01 Dec 2007)
New Revision: 6793

Modified:
   django/trunk/django/http/utils.py
Log:
Small docstring edit in django/http/utils.py from [6662]

Modified: django/trunk/django/http/utils.py
===================================================================
--- django/trunk/django/http/utils.py   2007-12-01 17:29:45 UTC (rev 6792)
+++ django/trunk/django/http/utils.py   2007-12-01 17:33:14 UTC (rev 6793)
@@ -5,7 +5,7 @@
 # This group of functions are run as part of the response handling, after
 # everything else, including all response middleware. Think of them as
 # "compulsory response middleware". Be careful about what goes here, because
-# it's a little fiddly to override this behaviour, so they should be truly
+# it's a little fiddly to override this behavior, so they should be truly
 # universally applicable.
 
 def fix_location_header(request, response):
@@ -13,7 +13,7 @@
     Ensures that we always use an absolute URI in any location header in the
     response. This is required by RFC 2616, section 14.30.
 
-    Code constructing response objects is free to insert relative paths and
+    Code constructing response objects is free to insert relative paths, as
     this function converts them to absolute paths.
     """
     if 'Location' in response and request.get_host():
@@ -31,4 +31,3 @@
     if request.method == 'HEAD':
         response.content = ''
     return response
-


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to