title: WSGI (python) how to get POST data from an HTML form?
body: <p>This is the HTML form that "gets" /1.wsgi</p>
  
  <pre><code>&lt;form action="/1.wsgi" method="get"&gt;
  &lt;input type="text" name="one"&gt;
  &lt;input type="submit" value="Send"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>this is my 1.wsgi script:</p>
  
  <pre><code>from cgi import parse_qs
  import os
  
  def application(environ, start_response):
      o = parse_qs(environ['QUERY_STRING'])
      oo = o.get('one', [''])[0]
      start_response('200 OK', [('content-type', 'text/html')])
      yield oo
  </code></pre>
  
  <p>works very nicely, <em>BUT</em> I would like to use <code>POST</code> method rather than <code>GET</code>. I understand in html form <code>"get"</code> has to be changed to <code>"post"</code> but what exactly must I do in the WSGI script?</p>