Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit b492984

Browse files
committed
Response codes should be integers.
1 parent 760dd65 commit b492984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyper/http20/response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ def status(self):
7272
"""
7373
Status code returned by the server.
7474
"""
75-
return self._headers[':status']
75+
return int(self._headers[':status'])

0 commit comments

Comments
 (0)