I’ve put this down as an enhancement request, to be able to reparent jobs using “mrtool”, but in the meantime, I’ve been looking at accessing the web server from within python….
I can’t quite figure out how the login is done internally, though…
# I’m pretty sure that this next line is what’s not working. I’m just not sure
# what the url should be
conn.request(“POST”, “/dologin.html”, params)
response = conn.getresponse()
print response.status, response.reason
print response.msg
# This just gives me dologin.html – I’m just not sure where else I should send it
Maybe you’re missing a redirect, that’s what you should get in response…But you’ll get that in the http headers. Try to simply redirect yourself to index.html after posting the login, you should get it successfully….
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
We use cookies to ensure that we give you the best experience on our website Cookies are also used to send anonymous browsing data to Google Analytics. We give you the option to Refuse our cookies. AcceptRefuseRead more