#24459: Add option to `build_absolute_uri` to build specific http or https URI
-------------------------------------+-------------------------------------
     Reporter:  rednaw               |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  HTTP handling        |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  build_absolute_uri   |             Triage Stage:
                                     |  Someday/Maybe
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by rednaw):

 * stage:  Accepted => Someday/Maybe


Comment:

 I had some discussion with Erik and Markus about this and we came to the
 conclusion this feature is probably not necessary and could encourage
 people to mix http and https on one domain.

 The point is that mixing http and https on one domain is a bad practice
 for several reasons, and if you have https support anyway, there's no
 straightforward reason to not use it everywhere.

 So I was thinking on elaborating this in the Django documentation of
 `build_absolute_uri` instead. Explain why the method doesn't support
 scheme switching.

--
Ticket URL: <https://code.djangoproject.com/ticket/24459#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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.4d7ded8696299eab76a1f4832b72d063%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to