Fixed logging of if-modified-since.
This commit is contained in:
parent
f677258f83
commit
778736e2d3
|
@ -299,7 +299,7 @@ def update_crx(archivedir, tmptardir, ext_id, date):
|
||||||
if last_crx_file is not "":
|
if last_crx_file is not "":
|
||||||
headers = {'If-Modified-Since': last_crx_http_date}
|
headers = {'If-Modified-Since': last_crx_http_date}
|
||||||
try:
|
try:
|
||||||
log_info("* Checking If-Modified-Since")
|
log_info("* Checking If-Modified-Since", 2, ext_id)
|
||||||
res = requests.get(
|
res = requests.get(
|
||||||
const_download_url().format(ext_id),
|
const_download_url().format(ext_id),
|
||||||
stream=True,
|
stream=True,
|
||||||
|
|
Loading…
Reference in New Issue