title: Is it possible to make such a request with extra options in Python?
body: <p>In a command line I make <code>curl</code> requests, that look like so:</p>
  
  <pre><code>curl 'http://127.0.0.1:8983:/solr/collection1/update/extract/?literal.id=
  any_document_id_you_like&amp;commit=true' -F  'myfile=@path_to_the_file_you_want_to_index'
  </code></pre>
  
  <p>I wonder if it is possible (and if yes, then how - syntax etc.) to make such a request in <code>Python</code> code, using some library.</p>