💾 Archived View for tris.fyi › pydoc › urllib.response captured on 2022-04-28 at 17:43:35. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
Response classes used by urllib. The base class, addbase, defines a minimal file-like interface, including read() and readline(). The typical response object is an addinfourl instance, which defines an info() method that returns headers and a geturl() method that returns the url.
Base class for addinfo and addclosehook. Is a good idea for garbage collection.
close(self) Close the temporary file, possibly deleting it.
Class to add a close hook to an open file.
close(self)
class to add an info() method to an open file.
close(self) Close the temporary file, possibly deleting it.
info(self)
class to add info() and geturl() methods to an open file.
close(self) Close the temporary file, possibly deleting it.
getcode(self)
geturl(self)
info(self)
status = <property object at 0x7ff35ef07270>