assemblyline-v4-service 4.5.1.dev434__py3-none-any.whl → 4.5.1.dev438__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of assemblyline-v4-service might be problematic. Click here for more details.
- assemblyline_v4_service/VERSION +1 -1
- assemblyline_v4_service/updater/helper.py +5 -2
- {assemblyline_v4_service-4.5.1.dev434.dist-info → assemblyline_v4_service-4.5.1.dev438.dist-info}/METADATA +1 -1
- {assemblyline_v4_service-4.5.1.dev434.dist-info → assemblyline_v4_service-4.5.1.dev438.dist-info}/RECORD +7 -7
- {assemblyline_v4_service-4.5.1.dev434.dist-info → assemblyline_v4_service-4.5.1.dev438.dist-info}/LICENCE.md +0 -0
- {assemblyline_v4_service-4.5.1.dev434.dist-info → assemblyline_v4_service-4.5.1.dev438.dist-info}/WHEEL +0 -0
- {assemblyline_v4_service-4.5.1.dev434.dist-info → assemblyline_v4_service-4.5.1.dev438.dist-info}/top_level.txt +0 -0
assemblyline_v4_service/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.5.1.
|
|
1
|
+
4.5.1.dev438
|
|
@@ -135,8 +135,11 @@ def url_download(source: Dict[str, Any], previous_update: int, logger: Logger, o
|
|
|
135
135
|
else:
|
|
136
136
|
headers = {'If-Modified-Since': previous_update}
|
|
137
137
|
|
|
138
|
-
if fetch_method
|
|
139
|
-
response =
|
|
138
|
+
if fetch_method == 'get':
|
|
139
|
+
response = session.get(uri, auth=auth, headers=headers, proxies=proxies, stream=True)
|
|
140
|
+
elif fetch_method == 'post':
|
|
141
|
+
json = source.get('post_data') or None
|
|
142
|
+
response = session.post(uri, auth=auth, headers=headers, proxies=proxies, json=json, stream=True)
|
|
140
143
|
else:
|
|
141
144
|
raise ValueError(f"Unknown fetch method: {fetch_method}")
|
|
142
145
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
assemblyline_v4_service/VERSION,sha256=
|
|
1
|
+
assemblyline_v4_service/VERSION,sha256=yyvYmIchpdHD2CvHoWLHeV4ZE30Fkk3ruPG9zu-2ors,13
|
|
2
2
|
assemblyline_v4_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
assemblyline_v4_service/healthz.py,sha256=3QGBg0EZuXC6UN411HFwpLNEop9UvS9feFhvBUTP-k4,1576
|
|
4
4
|
assemblyline_v4_service/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -21,7 +21,7 @@ assemblyline_v4_service/updater/__main__.py,sha256=9Os-u8Tf7MD73JSrUSPmOaErTgfve
|
|
|
21
21
|
assemblyline_v4_service/updater/app.py,sha256=Mtmx4bkXfP4nFqqa5q15jW8QIXr4JK84lCovxAVyvPs,3317
|
|
22
22
|
assemblyline_v4_service/updater/client.py,sha256=eBOK8doMu9nsIO6kXWtaBMy4hJIKRtQG0iC_21a5CG4,10849
|
|
23
23
|
assemblyline_v4_service/updater/gunicorn_config.py,sha256=p3j2KPBeD5jvMw9O5i7vAtlRgPSVVxIG9AO0DfN82J8,1247
|
|
24
|
-
assemblyline_v4_service/updater/helper.py,sha256=
|
|
24
|
+
assemblyline_v4_service/updater/helper.py,sha256=Eo8HNyHRZ3OL_b6onWIFj_BykwYj94JgRrT9GQx2Tsg,10076
|
|
25
25
|
assemblyline_v4_service/updater/updater.py,sha256=HqRVUs5nNIfKmHu7g1GUkgC7bvYWs2EC9ZFy1kj-Ltw,31609
|
|
26
26
|
test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
test/conftest.py,sha256=W3SieQpZsZpGEmtLqY4aIlxREDSsHceyCrFcFsWUM0U,1851
|
|
@@ -38,8 +38,8 @@ test/test_common/test_request.py,sha256=Ceyds8BNO1O0f1kH1VEb84faJcaupvSjVKIrGdHe
|
|
|
38
38
|
test/test_common/test_result.py,sha256=6BiOKxEPrKBjOY44jv3TY-yiXm0qI1ok_CZBnjP9TM4,45447
|
|
39
39
|
test/test_common/test_task.py,sha256=P44mNcSe-3tJgDk9ppN3KbM7oN4LBVIuhONG-Gveh74,19007
|
|
40
40
|
test/test_common/test_utils.py,sha256=TbnBxqpS_ZC5ptXR9XJX3xtbItD0mTbtiBxxdyP8J5k,5904
|
|
41
|
-
assemblyline_v4_service-4.5.1.
|
|
42
|
-
assemblyline_v4_service-4.5.1.
|
|
43
|
-
assemblyline_v4_service-4.5.1.
|
|
44
|
-
assemblyline_v4_service-4.5.1.
|
|
45
|
-
assemblyline_v4_service-4.5.1.
|
|
41
|
+
assemblyline_v4_service-4.5.1.dev438.dist-info/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
|
|
42
|
+
assemblyline_v4_service-4.5.1.dev438.dist-info/METADATA,sha256=FO3QaZdd2DItNRcM0xoswCHh5fzkaNzu-VBqnnmQNlU,5603
|
|
43
|
+
assemblyline_v4_service-4.5.1.dev438.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
44
|
+
assemblyline_v4_service-4.5.1.dev438.dist-info/top_level.txt,sha256=LpTOEaVCatkrvbVq3EZseMSIa2PQZU-2rhuO_FTpZgY,29
|
|
45
|
+
assemblyline_v4_service-4.5.1.dev438.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|