3 lines
103 B
Python
3 lines
103 B
Python
|
def has_status_code(response, code):
|
||
|
return response["ResponseMetadata"]["HTTPStatusCode"] == code
|