AttributeError: ‘set’ object has no attribute ‘items’
出現這個問題,原因可能是定義的header有問題
正確如下:
header={“key”:“value”}
如果是直接在請求數據中複製,很有可能會忽略鍵和值的冒號。
來源:https://blog.csdn.net/Blossoming/article/details/88691085
AttributeError: ‘set’ object has no attribute ‘items’
出現這個問題,原因可能是定義的header有問題
正確如下:
header={“key”:“value”}
如果是直接在請求數據中複製,很有可能會忽略鍵和值的冒號。
來源:https://blog.csdn.net/Blossoming/article/details/88691085