close
The Wayback Machine - https://web.archive.org/web/20091221012344/http://code.google.com/appengine/docs/python/urlfetch/responseobjects.html
My favoritesImage | ImageEnglishImage | Sign in

Response Objects

The fetch() function returns an object containing the details of the response returned by the URL's server. This object has several attributes:

content
The body content of the response.
content_was_truncated
True if the allow_truncated parameter to fetch() was True and the response exceeded the maximum response size. In this case, the content attribute contains the truncated response.
status_code
The HTTP status code.
headers
The HTTP response headers, as a mapping of names to values.
final_url
The actual URL whose request returned this response. This may differ from the requested URL if the fetch followed HTTP redirects.