#17092: Internal Redirects with Apache
--------------------------------------+------------------------------------
     Reporter:  anonymous             |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  closed
    Component:  HTTP handling         |                  Version:  1.3
     Severity:  Normal                |               Resolution:  wontfix
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by ptone):

 * status:  new => closed
 * resolution:   => wontfix
 * stage:  Unreviewed => Accepted


Comment:

 One can not assume that all responses Django will serve will be going
 through a CGI spec compliant interface.  So it does not make sense to make
 this change in core.

 There are a number of other limitations with the feature, one being that
 the request_method is converted to GET and any request content is lost. If
 the redirect is just to static content, there is likely something better
 that can be done with mod_rewrite, or in a real edge case, one could put
 together django middleware that would strip out the host portion before
 returning.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17092#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
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