POST /func/save_upfile.jsp HTTP/1.1Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/msword, application/vnd.ms-excel, application/vnd.ms-powerpoint, */*Referer: https://192.168.1.10/func/save_upload.jspAccept-Language: zh-cnContent-Type: multipart/form-data; boundary=---------------------------7d9ab418901e6Accept-Encoding: gzip, deflateUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)Host: 192.168.1.10Content-Length: 83924Connection: Keep-AliveCache-Control: no-cacheCookie: JSESSIONID=E3EB68FFBCECDA19FDF3FB044401FAC0; cod=1050.1100.1200.1400.1500.1600-----------------------------7d9ab418901e6Content-Disposition: form-data; name="upfile"; filename="D:\report\0602.xls"Content-Type: message/rfc822
file content……
总公司一个管理系统中需要手动上传文件因为工作量比较大,决定用python实现批量功能 以下是手动上传时的httpheader信息
isa rita 写道: