def get_http_status_code_value(status_code):<EOL>
if hasattr(status_code, '<STR_LIT:value>'):<EOL><INDENT>return status_code.value  <EOL><DEDENT>else:<EOL><INDENT>return status_code<EOL><DEDENT>
Py2/3 status code.