Moving again
[nil.git] / nil / http.py
blob49c78d45b670a3d31899833ce872963e321cc863
1 import urllib2
3 def download(url):
4 try:
5 request = urllib2.Request(url)
6 response = urllib2.urlopen(request)
7 data = response.read()
8 return data
9 except:
10 return None