Xmlhttp equivalent for mac

is there an xmlhttp equivalent for mac.

In windows this is how I keep track of any demo license of my plugin.


is urllib or urllib2 part of python for Rhino ?

would this work in mac osx ?

import urllib
txt = urllib.urlopen(“http://www.myURL.com/demolicense.txt”).read()


I don’t know if there is enough information here for anyone (certainly not me) to be able to help…