Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567604 - https://api.gentoo.org does not respect If-Modified-Since
Summary: https://api.gentoo.org does not respect If-Modified-Since
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other web server issues (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-05 21:33 UTC by Michał Górny
Modified: 2015-12-05 21:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-12-05 21:33:48 UTC
$ wget -N https://api.gentoo.org/packages/herds.xml
--2015-12-05 22:31:59--  https://api.gentoo.org/packages/herds.xml
Resolving api.gentoo.org (api.gentoo.org)... 89.16.167.134, 2001:41c8:0:936::136, 2001:41c8:0:936::139
Connecting to api.gentoo.org (api.gentoo.org)|89.16.167.134|:443... connected.
HTTP request sent, awaiting response... 200 OK
Server ignored If-Modified-Since header for file 'herds.xml'.
You might want to add --no-if-modified-since option.


I really think we should respect If-Modified-Since on api.g.o, to provide a clean and bandwidth-efficient way of retrieving new data.