Problem with httplib and POST
Klaus Alexander Seistrup
spamtrap at magnetic-ink.dk
Thu Nov 8 01:59:18 EST 2001
Ray Van Dolson wrote:
> h.putrequest("POST", "/management/editdns.asp?Update=1&sld_nsrec_id=4444")
> [···]
> params = urllib.urlencode({'hostname': HOST_HERE, 'hostip': NEW_IP, 'B1':
> 'Update DNS Record'})
Have you tried
h.putrequest("POST", "/management/editdns.asp")
[···]
params = urllib.urlencode({'hostname': HOST_HERE, 'hostip': NEW_IP,
'B1': 'Update DNS Record', 'Update': '1', 'sld_nsrec_id': '4444'})
?
// Klaus
--
><>° vandag, môre, altyd saam
More information about the Python-list
mailing list