I am trying to write a Python client to access a Tomcat servlet using Tomcat Realm authentication with no success.
I can use the httplib to connect to localhost port 8080 ok and post and get and all that is fine, but when I try to set username and password and access a protected part of tomcat it fails with an Unauthorized.
Does anyone have an example of connecting to Tomcat using the Tomcat Realm (.i.e. tomcat-users.xml) authentication?
Thanks.
|
-- http://mail.python.org/mailman/listinfo/python-list