def http_status_code(self, include_unassigned: bool = True) -> int:
        """Returns random HTTP status code
        https://www.rfc-editor.org/rfc/rfc9110#name-status-codes
        :param include_unassigned: Whether to include status codes which have
            not yet been assigned or are unused

        :return: a random three digit status code
        :rtype: int

        :example: 404

        """
        if include_unassigned:
            return self.random_int(min=100, max=599)
        else:
            return self.random_element(self.http_assigned_codes)
Returns random HTTP status code
        https://www.rfc-editor.org/rfc/rfc9110#name-status-codes
        :param include_unassigned: Whether to include status codes which have
            not yet been assigned or are unused

        :return: a random three digit status code
        :rtype: int

        :example: 404

        
faker/providers/internet/__init__.py