Skip to content

Commit c85bb71

Browse files
committed
Merge pull request #271 from GoogleCloudPlatform/urlfetch_fix
Fix test scribble and restructure region tags
2 parents 8119b19 + 53a2051 commit c85bb71

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

appengine/urlfetch/main.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@
1818
"""
1919

2020
import logging
21-
# [START url-imports]
2221
import urllib
22+
23+
# [START urllib2-imports]
2324
import urllib2
25+
# [END urllib2-imports]
2426

27+
# [START urlfetch-imports]
2528
from google.appengine.api import urlfetch
29+
# [END urlfetch-imports]
2630
import webapp2
27-
# [END url-imports]
2831

2932

3033
class UrlLibFetchHandler(webapp2.RequestHandler):
@@ -46,7 +49,7 @@ class UrlFetchHandler(webapp2.RequestHandler):
4649

4750
def get(self):
4851
# [START urlfetch-get]
49-
url = "http://www.googleadsfasdf.com/"
52+
url = "http://www.google.com/"
5053
try:
5154
result = urlfetch.fetch(url)
5255
if result.status_code == 200:

0 commit comments

Comments
 (0)