Tuesday, August 23, 2011

Re: HttpResponseRedirect adds hostname?

On Tue, Aug 23, 2011 at 4:01 PM, Jacob Kaplan-Moss <jacob@jacobian.org> wrote:
> However, I believe it's not actually Django doing the rewriting.

Scratch that: I'm wrong. Actually, Django *is* doing the re-writing:
see https://code.djangoproject.com/browser/django/trunk/django/http/utils.py#L11.

Still, the point stands that it's necessary -- standards and all that
-- and that you should be fixing it in your proxy layer.

Jacob

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate