title: Form data not available in python script
body: <p>Consider the following script <code>test.py</code> on an Apache server:</p>
  
  <pre><code>#!/usr/bin/env python
  
  import cgi
  
  cgi.test()
  </code></pre>
  
  <p>If I call <code>http://domain.local/test.py?foo=bar</code> the output says (among others):</p>
  
  <pre><code>QUERY_STRING
  REQUEST_METHOD
      GET
  
  Command Line Arguments
  []
  
  Form Contents:
  No form fields.
  </code></pre>
  
  <p>If I send the data by using a POST request, the <code>QUERY_STRING</code> and <code>REQUEST_METHOD</code> do not show up at all, not to say that form contents section is still empty.</p>
  
  <p>Why is this happening and how can I resolve it?</p>