title: The data format for post in urllib2.Request
body: <p>What should data look like before data encoding in:
  <code>urllib2.Request(someurl,data)</code>  I tried <code>[('name1','value1'),('name2','value2'),...]</code>but not work.:(</p>
  
  <p>EDIT:
  I made a log in the program and recorded the value of <code>urllib.urlencode(data)</code>:</p>
  
  <pre><code>content=%E5%8F%91%E5%B8%83%E4%BA%86%E4%B8%80%E4%B8%AA%E6%96%B0%E4%B8%BB%E9%A2%98%EF%BC%9A%3Ca+href%3D%27http%3A%2F%2Fbbs.jianshe99.com%2Fforum-5-195%2Ftopic-448618.html%27+target%3D%27_blank%27%3E+fsdfdsf%3C%2Fa%3E
  </code></pre>
  
  <p>then post it to a php script which is</p>
  
  <pre><code>&lt;?php
  print_r($_POST);
  ?&gt;
  </code></pre>
  
  <p>but always get a response as:</p>
  
  <pre><code>array()
  </code></pre>