title: python3 and urllib: parsing variables from strange form-data
body: <p>I have an application that calls my python3 wsgi application.
  The code that simulates the behaviour is this:</p>
  <pre><code>s = b'--a14c2bff457276f4b7efca76188ae034\\r\\nContent-Disposition: form-data; name=&quot;wkt&quot;\\r\\n\\r\\nPOLYGON((662856.5265945033 5105763.789928524,665349.894261506 5105553.082801735,665174.3049891819 5104359.075749931,663594.0015382647 5104499.54716779,662856.5265945033 5105763.789928524))\\r\\n--a14c2bff457276f4b7efca76188ae034\\r\\nContent-Disposition: form-data; name=&quot;id&quot;\\r\\n\\r\\n94\\r\\n--a14c2bff457276f4b7efca76188ae034\\r\\nContent-Disposition: form-data; name=&quot;proxy_csv&quot;\\r\\n\\r\\n/it/admin/ws_trento/proxy/94/csv/\\r\\n--a14c2bff457276f4b7efca76188ae034\\r\\nContent-Disposition: form-data; name=&quot;user&quot;\\r\\n\\r\\nLuca Manganelli\\r\\n--a14c2bff457276f4b7efca76188ae034--\\r\\n'
  
  from urllib.parse import parse_qs
  
  variable_list = parse_qs(s))
  print(variable_list)
  </code></pre>
  <p>the output is:</p>
  <pre><code>{b'--123456789\\r\\nContent-Disposition: form-data; name': [b'&quot;wkt&quot;\\r\\n\\r\\nPOLYGON(())\\r\\n--a14c2bff457276f4b7efca76188ae034\\r\\nContent-Disposition: form-data; name=&quot;id&quot;\\r\\n\\r\\n94\\r\\n--a14c2bff457276f4b7efca76188ae034\\r\\nContent-Disposition: form-data; name=&quot;proxy_csv&quot;\\r\\n\\r\\n/test/94/csv/\\r\\n--a14c2bff457276f4b7efca76188ae034\\r\\nContent-Disposition: form-data; name=&quot;user&quot;\\r\\n\\r\\ntestuser\\r\\n--a14c2bff457276f4b7efca76188ae034--\\r\\n']}
  </code></pre>
  <p>I woult like to have a dict with the values of <code>wkt</code>, <code>id</code>, etc...</p>