[arvados] updated: 2.1.0-3013-g71f896e5a

git repository hosting git at public.arvados.org
Mon Nov 7 22:01:14 UTC 2022


Summary of changes:
 sdk/cwl/arvados_cwl/http.py | 3 +++
 1 file changed, 3 insertions(+)

       via  71f896e5a04fe7254f86886299c77d4c71de12d9 (commit)
      from  aa72f220d4b479998e14b1727920f7684f338d15 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 71f896e5a04fe7254f86886299c77d4c71de12d9
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Mon Nov 7 17:00:58 2022 -0500

    19699: Add a couple debug statements for etags
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/sdk/cwl/arvados_cwl/http.py b/sdk/cwl/arvados_cwl/http.py
index 33aa09884..3acc06d48 100644
--- a/sdk/cwl/arvados_cwl/http.py
+++ b/sdk/cwl/arvados_cwl/http.py
@@ -119,10 +119,13 @@ def http_to_keep(api, project_uuid, url, utcnow=datetime.datetime.utcnow):
         if "ETag" in properties and len(properties["ETag"]) > 2:
             etags[properties["ETag"]] = item
 
+    logger.debug("Found ETags %s", etags)
+
     properties = {}
     headers = {}
     if etags:
         headers['If-None-Match'] = ', '.join([etag_quote(k) for k,v in etags.items()])
+    logger.debug("Sending GET request with headers %s", headers)
     req = requests.get(url, stream=True, allow_redirects=True, headers=headers)
 
     if req.status_code not in (200, 304):

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list