def closed(self): return self.is_closed # --------------------------------- # Backwards compat for HTTPResponse # ---------------------------------