From 8f621360fc3e2b82b15af8a594b931e9482ebcb3 Mon Sep 17 00:00:00 2001 From: Paolo Pisati Date: Wed, 15 Nov 2023 14:45:23 +0100 Subject: [PATCH] UBUNTU: [Packaging] resync git-ubuntu-log BugLink: https://bugs.launchpad.net/bugs/1786013 Signed-off-by: Paolo Pisati --- debian/scripts/misc/git-ubuntu-log | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/scripts/misc/git-ubuntu-log b/debian/scripts/misc/git-ubuntu-log index 3700775a1e52..8efdb404b561 100755 --- a/debian/scripts/misc/git-ubuntu-log +++ b/debian/scripts/misc/git-ubuntu-log @@ -120,7 +120,7 @@ for key in keys: try: # urllib.request.urlcleanup() request = urllib.request.Request('https://api.launchpad.net/devel/bugs/' + bug) - request.add_header('Cache-Control', 'max-age=0') + request.add_header('Cache-Control', 'no-cache') with urllib.request.urlopen(request) as response: data = response.read() bug_info = json.loads(data.decode('utf-8'))