我正试图通过POST
请求发送.xml
文件:
files = {"FileName": open (path_to_file.xml, "rb")}
requests.post(url, files=files)
但从客户端发送的文件
<protection>
<create name="domain1/domain2/>
<allowed name="domain1"/>
<allowed name="domain2"/>
</protection>
在服务器端接收为
<protection>
<create name="domain1/domain2/>
<allowed name="domain1"/>
<allowed name="domain2"/>
</protection>
有人面对过这样的问题吗
目前没有回答
相关问题 更多 >
编程相关推荐