PyDocs

Nav

Internet Protocols and Support

addinfourl

  • addinfourl(fp, headers, url, code=None)
class to add info() and geturl() methods to an open file.
Members of addinfourl

c

code
Deprecated since version 3.9: Deprecated in favor of status.

g

getcode
Deprecated since version 3.9: Deprecated in favor of status.
geturl
Deprecated since version 3.9: Deprecated in favor of url.

h

headers
Returns the headers of the response in the form of an EmailMessage instance.

i

info
Deprecated since version 3.9: Deprecated in favor of headers.

s

status
Status code returned by server.

u

url
URL of the resource retrieved, commonly used to determine if a redirect was followed.
0 Examples
No examples for urllib.response/addinfourl.
See Also
No see-alsos for urllib.response/addinfourl
0 Notes
No notes for addinfourl