Ideally contrib.sitemaps would use the request.is_secure() method to
detect the protocol in the request and default to that instead.
I would be happy to provide a patch but I feel some discussion is
required. The sitemap.xml views are easily fixed, however complexity is
added when updating the defaults in get_urls on the Sitemap object as it
doesn't have access to the request object.
--
Ticket URL: <https://code.djangoproject.com/ticket/29033>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Tim Graham):
Generally, discussion happens more readily on the DevelopersMailingList,
so consider posting there and adding a link to the discussion here.
--
Ticket URL: <https://code.djangoproject.com/ticket/29033#comment:1>
* status: new => closed
* resolution: => needsinfo
Comment:
It looks to me like the `contrib.sitesmaps.index()` and `sitemap()` views
already use `request.scheme`. It's not clear to me what further
enhancements could be made.
--
Ticket URL: <https://code.djangoproject.com/ticket/29033#comment:2>