Executes the RPC call to fetch a given HTTP
URL.
google.appengine.api.urlfetch.make_fetch_call(
rpc,
url,
payload=None,
method=GET,
headers={},
allow_truncated=False,
follow_redirects=True,
validate_certificate=None
)
The first argument is a UserRPC
instance. See urlfetch.fetch
for a
thorough description of the remaining arguments.
Raises |
InvalidMethodError
|
If the requested method is not in _VALID_METHODS .
|
ResponseTooLargeError
|
If the response payload is too large.
|
InvalidURLError
|
If there are issues with the content or size of the
requested url .
|
Returns |
The rpc object that was passed into the function.
|