fsspec/implementations/http.py
def _raise_not_found_for_status(self, response, url):
        """
        Raises FileNotFoundError for 404s, otherwise uses raise_for_status.
        """
        if response.status == 404:
            raise FileNotFoundError(url)
        response.raise_for_status()

        Raises FileNotFoundError for 404s, otherwise uses raise_for_status.
        
Raises FileNotFoundError for 404s, otherwise uses raise_for_status.
Raises FileNotFoundError for 404s otherwise uses raise_for_status .
def _raise_not_found_for_status(self, response, url):
        if response.status == 404:
            raise FileNotFoundError(url)
        response.raise_for_status()
def _raise_not_found_for_status ( self , response , url ) : if response . status == 404 : raise FileNotFoundError ( url ) response . raise_for_status ( )
Raises FileNotFoundError for 404s, otherwise uses raise_for_status.
Raises FileNotFoundError for 404s otherwise uses raise_for_status .
"""
        Raises FileNotFoundError for 404s, otherwise uses raise_for_status.
        """
self
response
url