old_contents: 
  ## common API classes and methods
  
  class APIError(Exception):
      "Raise exception when the remote API returned an error."
      pass
      
  headers = {    # common HTTPS headers
      'Accept': 'application/json',
      'Accept-Charset': 'utf-8',
      'Accept-Encoding': 'identity',
      'Cache-Control': 'no-cache',
      'Connection': 'keep-alive'
      }
  
  
new_contents: 
  ## common API classes and methods
  
  class APIError(Exception):
      "Raise exception when the remote API returned an error."
      pass
  
  headers = {    # common HTTPS headers
      'Accept': 'application/json',
      'Accept-Charset': 'utf-8',
      'Accept-Encoding': 'identity',
      'Cache-Control': 'no-cache',
      'Connection': 'keep-alive',
      "Content-type" : "application/x-www-form-urlencoded"
      }
  
  
subject: add content type headers