title: What is the standard for 'application/x-www-form-urlencoded' and an empty value?
body: <p>A while ago, I had noticed that when encoding a map <code>name: value</code> to <code>'application/x-www-form-urlencoded</code>, it renders something like that (here I use Python):</p>
  
  <pre><code>&gt;&gt;&gt; from urllib import urlencode
  &gt;&gt;&gt; urlencode({'hello': '', 'blabla': 'hihi'})
  'blabla=hihi&amp;hello='
  </code></pre>
  
  <p>But the parsing (at least with Python), just strips the pairs that have an empty value :</p>
  
  <pre><code>&gt;&gt;&gt; from urlparse import parse_qs
  &gt;&gt;&gt; parse_qs('blabla=hihi&amp;hello=')
  {'blabla': ['hihi']}
  </code></pre>
  
  <p>So ... is it the standard behaviour ? Where can I find the reference on how <code>www-form-urlencoded</code> should be parsed ? I have googled a while, found the RFCs for uris, W3c docs for forms, and so on but nothing about how the empty values should be treated. Can somebody give me a pointer to that ???</p>