It could raise some catchable exception instead.
Traceback (most recent call last):
File "…", line …, in …
….getBankAccount(
File "/usr/local/lib/python3.8/site-packages/hyperwallet/api.py", line 275, in getBankAccount
response = self.apiClient.doGet(
File "/usr/local/lib/python3.8/site-packages/hyperwallet/utils/apiclient.py", line 153, in doGet
return self._makeRequest(
File "/usr/local/lib/python3.8/site-packages/hyperwallet/utils/apiclient.py", line 116, in _makeRequest
self.__checkResponseHeaderContentType(response)
File "/usr/local/lib/python3.8/site-packages/hyperwallet/utils/apiclient.py", line 210, in __checkResponseHeaderContentType
raise HyperwalletAPIException('Invalid Content-Type specified in Response Header')
hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header
getBankAccount throws
hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Headerwhen Hyperwallet server internally returns404 - Not Found.It could raise some catchable exception instead.
Similar case to #20.