@Test
public void testDownloadByNameWithB2ContentDisposition() throws B2Exception {

    final B2DownloadByNameRequest request = B2DownloadByNameRequest
            .builder(bucketName(1), fileName(1))
            .setB2ContentDisposition("attachment; filename=\"with space.txt\"")
            .build();
    webifier.downloadByName(ACCOUNT_AUTH, request, noopContentHandler);
    webApiClient.check("getContent.\n" +
            "url:\n" +
            "    downloadUrl1/file/bucketName1/files/%E8%87%AA%E7%94%B1/0001?b2ContentDisposition=attachment%3B+filename%3D%22with+space.txt%22\n" +
            "headers:\n" +
            "    Authorization: accountToken1\n" +
            "    User-Agent: SecretAgentMan/3.19.28\n" +
            "    X-Bz-Test-Mode: force_cap_exceeded\n"
    );
    checkRequestCategory(OTHER, w -> w.downloadByName(ACCOUNT_AUTH, request, noopContentHandler));
}