title: chunked HTTP upload with Python
body: <p>I've developed a REST api to handle file uploads. Since the system handles large files the api handles upload with chunked encoding. The api work fine with JQuery's file upload plugin so there are no problems on the server side.</p>
  
  <p>I'm currently working with a python script to do some batch processing with a large amount of big files.
  However i can't find any example, code snippets or guides on how to do a chunked upload with python.
  I looked up urllib2, httplib but i can't get it to work. I've also digged into curl but without any luck.</p>