You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
可否写成这样
if response is None:
response = (
request_temp.get_response()
if not setting.RESPONSE_CACHED_USED
else request_temp.get_response_from_cached(
save_cached=False
)
)
问题
这个response 为404的时候我不希望走进判断逻辑里面重新下载
截图 代码
The text was updated successfully, but these errors were encountered:
需知
可否写成这样
if response is None:
response = (
request_temp.get_response()
if not setting.RESPONSE_CACHED_USED
else request_temp.get_response_from_cached(
save_cached=False
)
)
问题
这个response 为404的时候我不希望走进判断逻辑里面重新下载
截图
代码
The text was updated successfully, but these errors were encountered: