Closed alimony closed 10 years ago
This will prevent TypeError: argument of type 'NoneType' is not iterable if there was no response body, e.g. when status code was 400 or similar. (In that case body will be None.)
TypeError: argument of type 'NoneType' is not iterable
body
None
This will prevent
TypeError: argument of type 'NoneType' is not iterable
if there was no response body, e.g. when status code was 400 or similar. (In that casebody
will beNone
.)