Content-Type請求頭的做用,用於標記請求體數據的格式,如:json
1. Content-Type:application/x-www-form-urlencoded 請求體:b'pwd=123&user=root' 2. Content-Type:application/json 請求體:{"pwd": 123, "user": "root"}app