Attempt to bypass HTTP caches when fetching repomd.xml 18/11618/3
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 29 Oct 2013 13:48:06 +0000 (14:48 +0100)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 8 Nov 2013 14:37:58 +0000 (15:37 +0100)
commit88d4a977729587b0740f68e7aad5a4ec0d4176d7
tree3a98947ccb86f64a6c46615435db35996ce5d32a
parent8660f34ed8050760f17055836c15ab8fb8d51955
Attempt to bypass HTTP caches when fetching repomd.xml

If a repository and its repomd.xml changes frequently it may look
inconsistent to clients. Unlike other files in a repository repomd.xml
does not change its name along with contents like RPM packages and
metadata files with hashes in filenames. To get the most up-to-date
version additional HTTP headers (Pragma, Cache-Control) need to be passed.

Fixes: DEVT-110

Change-Id: I6a20f829d3a5331f9e99820fa46cdb497a5348ee
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Cc: Zhang, Qiang Z <qiang.z.zhang@intel.com>
gitbuildsys/utils.py