Skip to content

Commit a078ada

Browse files
committed
fix url in urllib example
1 parent 44bc93d commit a078ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Chapter13/urllib_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from urllib.request import urlopen
22

33
# Basic GET request and response examination
4-
response = urlopen('http://packtpub.com')
4+
response = urlopen('http://python.org')
55
print(response.getheader('Content-Type'))
66
print(response.getheader('Server'))
77
print(response.status)

0 commit comments

Comments
 (0)