I use httplib and a string template.
With a normal String as message, it is working, with a template I get :
Error 'must be convertible to a buffer, not Template'
message=str(SMessage.substitute(...
webservice = httplib.HTTP(host)
webservice.putrequest("POST", url)
....
webservice.send(message)
Do I need to convert my template, somehow ?