now handling HEAD requests with both urllib2 and httplib2