title: Parse query part from url
body: <p>I want to parse query part from url, this is my code to do this:</p>
  
  <pre><code>&gt;&gt;&gt; from urlparse import urlparse, parse_qs
  &gt;&gt;&gt; url = '/?param1&amp;param2=2'
  &gt;&gt;&gt; parse_qs(urlparse(url).query)
  &gt;&gt;&gt; {'param2': ['23']}
  </code></pre>
  
  <p>This code looks good, but "parse_qs" method loses query parameters like "param1" or "param1=". Can I parse query part with stantard library and save all parameters?</p>