用python自动登录domino系统,登录不成功,还少什么参数?

用python自动登录domino系统,登录不成功,还少什么参数?

import httplib, urllib
params = urllib.urlencode({'Username': 'admin', 'Password': ‘111’, 'RedirectTo': '/OAIndex.nsf?OpenDatabase'})
headers = {"Content-type": "application/x-www-form-urlencoded",
           "Accept": "text/plain","User-Agent": "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)"}
#conn = httplib.HTTPConnection("192.168.0.8")
conn = httplib.HTTPConnection("127.0.0.1:8088")
conn.request("POST", "/names.nsf?Login", params, headers)
response = conn.getresponse()
print response.status, response.reason

data = response.read()
conn.close()

post过去的数据对吗?