Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarprudnikov committed Feb 27, 2025
1 parent 037b65d commit 4549c8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyscitt/pyscitt/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
CT_APPLICATION_JSON = "application/json"
CT_APPLICATION_CBOR = "application/cbor"
CT_APPLICATION_COSE = "application/cose"
CT_APLICATION_CBOR_ERROR = "application/concise-problem-details+cbor"
CT_APPLICATION_CBOR_ERROR = "application/concise-problem-details+cbor"
CBOR_ERR_TITLE_TAG = -1
CBOR_ERR_DETAIL_TAG = -2

Expand Down Expand Up @@ -295,7 +295,7 @@ def parse_response_error(self, response: httpx.Response) -> Optional[ServiceErro
if (
content_type == CT_APPLICATION_CBOR
or content_type == CT_APPLICATION_COSE
or content_type == CT_APLICATION_CBOR_ERROR
or content_type == CT_APPLICATION_CBOR_ERROR
):
error = cbor2.loads(response.read())
return ServiceError(
Expand Down

0 comments on commit 4549c8e

Please sign in to comment.