Except as otherwise noted,
the content of this page is licensed under a Creative Commons
license, and examples are licensed under
an Apache
license.
Google Code offered in: 中文 - English - Português - Pусский - Español - 日本語
The fetch() function returns an object containing the details of the response returned by the URL's server. This object has several attributes:
content
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
headers