#20793: Add Last-Modified header to generated sitemaps
-------------------------------------+-------------------------------------
     Reporter:  julianb              |                    Owner:  julianb
         Type:  New feature          |                   Status:  assigned
    Component:  contrib.sitemaps     |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  sitemaps last        |             Triage Stage:  Accepted
  modified                           |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  1
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * needs_better_patch:  0 => 1
 * stage:  Ready for checkin => Accepted


Comment:

 The current patch will add a Last-Modified header if any item if the feed
 has a lastmod.

 I would expect it to add the header only if all items have a lastmod.

 As soon as one item doesn't have a lastmod you really can't say anything
 about the entire feed.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20793#comment:5>
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/065.4724224e469caf60121001f5d102df71%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to