appmesh 1.1.6__py3-none-any.whl → 1.1.7__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.
appmesh/appmesh_client.py CHANGED
@@ -353,8 +353,8 @@ class AppMeshClient(metaclass=abc.ABCMeta):
353
353
  if resp.status_code == HTTPStatus.OK:
354
354
  if "Access-Token" in resp.json():
355
355
  self.jwt_token = resp.json()["Access-Token"]
356
- elif resp.status_code == HTTPStatus.UNAUTHORIZED and "totp_challenge" in resp.json():
357
- challenge = resp.json()["totp_challenge"]
356
+ elif resp.status_code == HTTPStatus.UNAUTHORIZED and "Totp-Challenge" in resp.json():
357
+ challenge = resp.json()["Totp-Challenge"]
358
358
  resp = self._request_http(
359
359
  AppMeshClient.Method.POST,
360
360
  path="/appmesh/totp/validate",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: appmesh
3
- Version: 1.1.6
3
+ Version: 1.1.7
4
4
  Summary: Client SDK for App Mesh
5
5
  Home-page: https://github.com/laoshanxi/app-mesh
6
6
  Author: laoshanxi
@@ -0,0 +1,6 @@
1
+ appmesh/__init__.py,sha256=xRdXeFHEieRauuJZElbEBASgXG0ZzU1a5_0isAhM7Gw,11
2
+ appmesh/appmesh_client.py,sha256=8nnB38J3wvS8tguEzX_KTJkilW6uMoA4opKIaDq1lG0,59591
3
+ appmesh-1.1.7.dist-info/METADATA,sha256=ggcCacVaQs3tuC51tw2t67rUgbk6uXJ8qM0clU6uYEs,10832
4
+ appmesh-1.1.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
5
+ appmesh-1.1.7.dist-info/top_level.txt,sha256=-y0MNQOGJxUzLdHZ6E_Rfv5_LNCkV-GTmOBME_b6pg8,8
6
+ appmesh-1.1.7.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- appmesh/__init__.py,sha256=xRdXeFHEieRauuJZElbEBASgXG0ZzU1a5_0isAhM7Gw,11
2
- appmesh/appmesh_client.py,sha256=OybcrVVmUI8tGHXTrBJPzEK95sH4iv6VPtzLMQ8Gguc,59591
3
- appmesh-1.1.6.dist-info/METADATA,sha256=lJWO8w8Hwz3VzywzX6fPAE7TLrS0kEMgP85Up7zUnAY,10832
4
- appmesh-1.1.6.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
5
- appmesh-1.1.6.dist-info/top_level.txt,sha256=-y0MNQOGJxUzLdHZ6E_Rfv5_LNCkV-GTmOBME_b6pg8,8
6
- appmesh-1.1.6.dist-info/RECORD,,