Sending multi-part MIME package via HTTP-POST

Justin Ezequiel justin.mailinglists at gmail.com
Tue Nov 4 20:41:46 EST 2008


have you tried using the

def request(self, method, url, body=None, headers={})

method instead of putrequest, endheaders, send methods?

where body is

--===============1845688244==
Content-Type: application/vnd.cip4-jmf+xml
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-ID: beginning
<?xml version="1.0" ?><JMF SenderID="QMon" Version="1.2"><Command
...
        </JDF>
</JDF>
--===============1845688244==--




More information about the Python-list mailing list