Hi, I have a middleware that checks if URLs are broken.
I discovered that request.get_full_path() removes double slashes. Unfortunately REQUEST_URI is optional. For example, it is not set by the test client of django. Is there a way to get the real URL, like seen by the user in the browser, without REQUEST_URI? Explanation of REQUEST_URI of Graham Dumpleton: http://www.mail-archive.com/django-users@googlegroups.com/msg84389.html I think an update to the documentation would be nice. I can submit a patch, but since I am not a native speaker, it might contain errors. http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpRequest.META http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpRequest.get_full_path -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---