def _default_parser(context, response, queue):
"""???Response?????
"""
content_type = response.headers["content-type"]
if content_type.startswith("application/json"):
return response.json()
else:
return response.text
评论列表
文章目录