def _get_status_code(self, http_status):
try:<EOL><INDENT>return int(http_status.split('<STR_LIT:U+0020>', <NUM_LIT:1>)[<NUM_LIT:0>])<EOL><DEDENT>except TypeError:<EOL><INDENT>_logger.warning('<STR_LIT>',<EOL>http_status)<EOL><DEDENT>return <NUM_LIT><EOL>
Get the HTTP status code from an HTTP status string.

        Args:
          http_status: A string containing a HTTP status code and reason.

        Returns:
          An integer with the status code number from http_status.