{
    "id": "fb162-http-download",
    "title": "Получить акт по HTTP с именем файла и исходными русскими буквами",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "HTTP-статус",
            200
        ],
        [
            "Имя скачиваемого файла",
            "receipt-42.txt"
        ],
        [
            "Content-Type",
            "text\/plain; charset=UTF-8"
        ],
        [
            "Content-Disposition",
            "attachment; filename=\"receipt-42.txt\""
        ],
        [
            "Полученное содержимое акта",
            "Акт приёмки №42\nКабель: 3 шт.\nСтатус: принят\n"
        ],
        [
            "Получено байт",
            77
        ],
        [
            "SHA256 полученного файла",
            "3dd5720e3950207d628873762554cb18809e73ca5f7a89d007554ef3b1c5b7bd"
        ],
        [
            "Ответ совпал с исходным актом",
            true
        ],
        [
            "Дочерний сервер остановлен",
            true
        ]
    ],
    "checks": {
        "http_200": true,
        "text_content_type": true,
        "download_filename": true,
        "content_length": true,
        "exact_received_text": true,
        "received_hash": true,
        "no_sniff": true,
        "same_runtime": true,
        "local_child_stopped": true,
        "downloaded_file_exact": true,
        "owned_objects_removed": true
    },
    "observations": {
        "http": {
            "status": 200,
            "bytes": 77,
            "sha256": "3dd5720e3950207d628873762554cb18809e73ca5f7a89d007554ef3b1c5b7bd",
            "headers": {
                "host": "127.0.0.1:9449",
                "date": "Sat, 07 Nov 2026 12:29:58 GMT",
                "connection": "close",
                "x-powered-by": "PHP\/8.2.35",
                "x-phpman-php": "8.2.35",
                "x-phpman-interbase": "3.0.1",
                "content-type": "text\/plain; charset=UTF-8",
                "content-disposition": "attachment; filename=\"receipt-42.txt\"",
                "content-length": "77",
                "x-content-type-options": "nosniff",
                "cache-control": "no-store"
            },
            "server_started": true,
            "server_stopped": true,
            "http_requests": 1
        },
        "body_text": "Акт приёмки №42\nКабель: 3 шт.\nСтатус: принят\n",
        "client_saved_file": "downloaded.bin",
        "browser_filename": "receipt-42.txt",
        "expected_sha256": "3dd5720e3950207d628873762554cb18809e73ca5f7a89d007554ef3b1c5b7bd",
        "transport": "real HTTP over 127.0.0.1",
        "private_token_published": false,
        "cli_output_buffer_used_as_http_test": false
    },
    "runtime": {
        "php": "8.2.35",
        "extension": "3.0.1",
        "server_version": "5.0.4",
        "database": "phpmanual153",
        "transport": "embedded_local_file"
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "FB162_DOWNLOAD_0B69DC4760"
        }
    ],
    "removed_objects": [
        {
            "type": "TABLE",
            "name": "FB162_DOWNLOAD_0B69DC4760"
        }
    ]
}
