title: How to send and receive HTTP POST requests in Python
body: <p>I need a simple Client-side method that can send a boolean value in a HTTP POST request, and a Server-side function that listens out for, and can save the POST content as a var.</p>
  
  <p>I am having trouble finding information on how to use the <code>httplib</code>.</p>
  
  <p>Please show me a simple example, using localhost for the http connection.</p>