title: How to parse url arrays in python?
body: <p>I want to parse an array of objects in a url into Python. 
  I have tried using a url like this:</p>
  
  <pre><code>url = "?query[]=item1&amp;query[]=item2&amp;query=item3"
  </code></pre>
  
  <p>and <code>request.args.get('query')</code> returns None 
  I have also tried using a url like this: </p>
  
  <pre><code>url = "?query=item1&amp;query=item2&amp;query=item3"
  </code></pre>
  
  <p>and <code>request.args.get('query')</code> only returns item 1.
  What is the best way parse the url into a list of items?</p>