scim2-client 0.1.10__py3-none-any.whl → 0.1.11__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.
scim2_client/client.py
CHANGED
|
@@ -176,7 +176,10 @@ class SCIMClient:
|
|
|
176
176
|
# https://datatracker.ietf.org/doc/html/rfc7644.html#section-8.1
|
|
177
177
|
|
|
178
178
|
expected_response_content_types = ("application/scim+json", "application/json")
|
|
179
|
-
if
|
|
179
|
+
if (
|
|
180
|
+
response.headers.get("content-type").split(";").pop(0)
|
|
181
|
+
not in expected_response_content_types
|
|
182
|
+
):
|
|
180
183
|
raise UnexpectedContentType(source=response)
|
|
181
184
|
|
|
182
185
|
# In addition to returning an HTTP response code, implementers MUST return
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
scim2_client/__init__.py,sha256=vgrTJZIqJLZc72XCJwYKrSCGUDkMZTJjCJiZkHERZGs,780
|
|
2
|
+
scim2_client/client.py,sha256=Hh4Cdk1fN1ugsbpIZ4PhDgRCUaJGlaJbLFGguy8myao,27174
|
|
3
|
+
scim2_client/errors.py,sha256=Lu_4lPlbryqWYGLPmH2iWaVmlay8S4PrH6lUPIvcisA,4430
|
|
4
|
+
scim2_client-0.1.11.dist-info/METADATA,sha256=dVkQERckaYa-2NAsysoA4asPRakdfyX166k58XOrj08,3498
|
|
5
|
+
scim2_client-0.1.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
6
|
+
scim2_client-0.1.11.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
scim2_client/__init__.py,sha256=vgrTJZIqJLZc72XCJwYKrSCGUDkMZTJjCJiZkHERZGs,780
|
|
2
|
-
scim2_client/client.py,sha256=f0Hgc6ghZ84FtaAHca7T7NV3OcmlaIbZCJ9xwAMPQX4,27120
|
|
3
|
-
scim2_client/errors.py,sha256=Lu_4lPlbryqWYGLPmH2iWaVmlay8S4PrH6lUPIvcisA,4430
|
|
4
|
-
scim2_client-0.1.10.dist-info/METADATA,sha256=TmDRSk37bNwBp3A2Sf3Rmd7n4DVKGHgm_zhtzkSzUIM,3498
|
|
5
|
-
scim2_client-0.1.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
6
|
-
scim2_client-0.1.10.dist-info/RECORD,,
|
|
File without changes
|