ros-drivers / axis_camera

Contains basic Python drivers for accessing an Axis camera's MJPG stream. Also provides control for PTZ cameras.
BSD 3-Clause "New" or "Revised" License
52 stars 74 forks source link

handle encrypted password authentication #29

Closed negre closed 9 years ago

negre commented 9 years ago

Hi, I modify a bit the code to handle encrypted password authentication. I add a ros parameter "use_encrypted_password" to enable/disable this authentication When use_encrypted_password is True, "urllib2.HTTPBasicAuthHandler(password_mgr)" is replaced by "urllib2.HTTPDigestAuthHandler(password_mgr)"

Best regards

awesomebytes commented 9 years ago

I tested it (without an encrypted password) and it's default behavior stays the same. I expect you tested in your use case.