def get_content_type(filename):
    """Finds the content type of a typical website file based on its extension.

    Args:
        filename: A string representing the filename.

    Returns:
        The content type of the file if the file is a typical
        website file, or a default content type if not.
    """

    content_types = {
        "bmp": "image/bmp",
        "css": "text/css",
        "gif": "image/gif",
        "htm": "text/html",
        "html": "text/html",
        "ico": "image/x-icon",
        "jpeg": "image/jpeg",
        "jpg": "image/jpeg",
        "js": "application/x-javascript",
        "json": "application/json",
        "png": "image/png",
        "svg": "image/svg+xml",
    }
    extension = filename.rsplit(".")[-1].lower()
    content_type = content_types.get(extension, "application/octet-stream")
    return content_type