def unpack(value):
if not isinstance(value, tuple):<EOL><INDENT>return value, <NUM_LIT:200>, {}<EOL><DEDENT>try:<EOL><INDENT>data, code, headers = value<EOL>return data, code, headers<EOL><DEDENT>except ValueError:<EOL><INDENT>pass<EOL><DEDENT>try:<EOL><INDENT>data, code = value<EOL>return data, code, {}<EOL><DEDENT>except ValueError:<EOL><INDENT>pass<EOL><DEDENT>return value, <NUM_LIT:200>, {}<EOL>
Return a three tuple of data, code, and headers