change from httplib2 to urllib2