python requests的content和text方法的区别

2025-02-25 01:25:22
推荐回答(1个)
回答1:

最显著的区别是text返回的数据类型是unicode,而content返回的数据类型是str,根据个人需要用不同方法。