Python-Unifi-Client 1.2.3__py3-none-any.whl → 1.2.4__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.
- python_unifi_client/client.py +3 -3
- {python_unifi_client-1.2.3.dist-info → python_unifi_client-1.2.4.dist-info}/METADATA +1 -1
- python_unifi_client-1.2.4.dist-info/RECORD +6 -0
- python_unifi_client-1.2.3.dist-info/RECORD +0 -6
- {python_unifi_client-1.2.3.dist-info → python_unifi_client-1.2.4.dist-info}/WHEEL +0 -0
- {python_unifi_client-1.2.3.dist-info → python_unifi_client-1.2.4.dist-info}/top_level.txt +0 -0
python_unifi_client/client.py
CHANGED
|
@@ -2445,9 +2445,9 @@ class Client:
|
|
|
2445
2445
|
|
|
2446
2446
|
# force POST if GET or DELETE
|
|
2447
2447
|
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2448
|
+
if self._curl_method in ('GET', 'DELETE'):
|
|
2449
|
+
self._curl_method = 'POST'
|
|
2450
|
+
opts['method'] = 'POST'
|
|
2451
2451
|
|
|
2452
2452
|
|
|
2453
2453
|
# 5) set custom method flags
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
python_unifi_client/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
2
|
+
python_unifi_client/client.py,sha256=en9QIaggsozYHHvf4i04Jq5JlRpmeUe79w4LHepfTnw,105735
|
|
3
|
+
python_unifi_client-1.2.4.dist-info/METADATA,sha256=JX0PKf-wN2eJFZdmLSqjuv7B4mmrxiQlfskZQtGW9do,2483
|
|
4
|
+
python_unifi_client-1.2.4.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
|
5
|
+
python_unifi_client-1.2.4.dist-info/top_level.txt,sha256=675fDdb69Hi9X8pSEGl6f03ZpUXNiumV-s1B1gXEeYs,20
|
|
6
|
+
python_unifi_client-1.2.4.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
python_unifi_client/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
2
|
-
python_unifi_client/client.py,sha256=ujm6zxfWsywp0_dHV8-_dx_g-Wq2eEq2EGIhH_EgkYM,105738
|
|
3
|
-
python_unifi_client-1.2.3.dist-info/METADATA,sha256=yLm239bQzIcOdzQ4HNxOZ6S8fojKq4S14tlNYchCYWc,2483
|
|
4
|
-
python_unifi_client-1.2.3.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
|
5
|
-
python_unifi_client-1.2.3.dist-info/top_level.txt,sha256=675fDdb69Hi9X8pSEGl6f03ZpUXNiumV-s1B1gXEeYs,20
|
|
6
|
-
python_unifi_client-1.2.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|