title: upload files through http post in Pyside/PyQt
body: <p>I'm trying to send a file and other POST variables to a xfilesharing script(which is in perl) on my customer server.</p>
  
  <p>There are no good resources on Google and the code samples I've found don't work.(actually they were in c++ and I couldn't get them work)</p>
  
  <p>server is using Apache for webserver</p>
  
  <p>I ask a question before and I got a pretty good answer,so I'm using that <a href="https://stackoverflow.com/a/20896359/3152155">uploader</a> in here,code just not work for uploading file through http post</p>
  
  <p>so can anyone first of all tell me what I need to do to upload file through HTTP post and then it would be great if you could give me a sample (simple code to upload on a localhost will be enough,I just want to see how to do that and how uploading works)</p>