💾 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

View Raw

More Information

⬅️ Previous capture (2022-03-01)

➡️ Next capture (2022-07-16)

🚧 View Differences

-=-=-=-=-=-=-

Back to module index

Go to module by name

urllib

urllib.response

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.

Classes

addbase

Base class for addinfo and addclosehook. Is a good idea for garbage collection.
close(self)


          Close the temporary file, possibly deleting it.
        

addclosehook

Class to add a close hook to an open file.
close(self)

addinfo

class to add an info() method to an open file.
close(self)


          Close the temporary file, possibly deleting it.
        
info(self)

addinfourl

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>

Modules

tempfile