mozilla / django-product-details

Product and locale details for Mozilla products
https://product-details.mozilla.org/1.0/
BSD 3-Clause "New" or "Revised" License
27 stars 22 forks source link

Product Details hosting changed meaning of last-modified header #72

Closed pmac closed 5 years ago

pmac commented 5 years ago

In bug 1508780 product-details hosting was moved from an apache instance to AWS S3. This changed the meaning of the last-modified header returned for the file listing pages. Apache's behavior was to send the latest last-modified date of any file in the list (or really the directory's last-modified date) while S3 is merely sending the last modified date of the index.html file itself. The update script is now failing to run updates because the listing file is showing as not modified and thus none of the other files are checked. We should remove this check for the listing requests.