-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
response 的判断 #258
Comments
same problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
需知
可否写成这样
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: