How does Python send multiipart to upload files?

upload parameters are as follows

-119938005516990736431240663742
Content-Disposition: form-data; name= "_ csrf"

pvlVVBZkGPROBe1zHHx17fc5VKtVMcLMGS6TKFn82HPFjgMBeCsvnXtf3SksKELVmm4tziJFipMoSPp3Ds2SQA==
-119938005516990736431240663742
Content-Disposition: form-data; name= "ReportForm [url]"

-119938005516990736431240663742
Content-Disposition: form-data; name= "ReportForm [url]"; filename= "br > Content-Type: application/pdf

that"s what I wrote. Why don"t I always upload it to pdf? Because the server always shows upload text?

files=[("ReportForm[url]",("COO:-18.pdf",open(file,"rb"),"Content-Type: application/pdf"))]
data={"_csrf":csrf_token}
headers = {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36",
        }

response=requests.post(url=url,cookies=cookies,files=files,data=data,headers=headers)
Apr.27,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ddcd-2b72e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ddcd-2b72e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?