12 Oct
2006
12 Oct
'06
7:35 a.m.
Peter Bengtsson wrote:
xml_content = open('validxmlfile.xml').read() http = httplib.HTTP("localhost", 8080) http.putrequest("POST", "/uploadExpenseXML")
That's not really a valid transaction... My guess is you should be encoding this as a posted file (ie: as if you'd used an <input type="file"/>) and then process the file on the server... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk