Skip to content

Commit

Permalink
change httpstatus usage
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyheppell committed Dec 16, 2024
1 parent 3b5b311 commit c97392d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usp/web_client/requests_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def status_code(self) -> int:
def status_message(self) -> str:
message = self.__requests_response.reason
if not message:
message = HTTPStatus(self.status_code(), None).phrase
message = HTTPStatus(self.status_code()).phrase
return message

def header(self, case_insensitive_name: str) -> Optional[str]:
Expand Down

0 comments on commit c97392d

Please sign in to comment.