tests/testthat/play.dhis2.org/2.30/api/foo.R

structure(list(url = "https://play.dhis2.org/2.30/api/foo", status_code = 404L, 
    headers = structure(list(server = "nginx/1.14.1", date = "Tue, 11 Dec 2018 09:17:19 GMT", 
        `content-type` = "text/html;charset=utf-8", `transfer-encoding` = "chunked", 
        connection = "keep-alive", `x-xss-protection` = "1; mode=block", 
        `x-frame-options` = "SAMEORIGIN", `x-content-type-options` = "nosniff", 
        `content-language` = "en", `content-encoding` = "gzip"), class = c("insensitive", 
    "list")), all_headers = list(list(status = 404L, version = "HTTP/1.1", 
        headers = structure(list(server = "nginx/1.14.1", date = "Tue, 11 Dec 2018 09:17:19 GMT", 
            `content-type` = "text/html;charset=utf-8", `transfer-encoding` = "chunked", 
            connection = "keep-alive", `x-xss-protection` = "1; mode=block", 
            `x-frame-options` = "SAMEORIGIN", `x-content-type-options` = "nosniff", 
            `content-language` = "en", `content-encoding` = "gzip"), class = c("insensitive", 
        "list")))), cookies = structure(list(domain = "#HttpOnly_play.dhis2.org", 
        flag = FALSE, path = "/2.30", secure = FALSE, expiration = structure(Inf, class = c("POSIXct", 
        "POSIXt")), name = "JSESSIONID", value = "REDACTED"), row.names = c(NA, 
    -1L), class = "data.frame"), content = charToRaw("<!doctype html><html lang=\"en\"><head><title>HTTP Status 404 – Not Found</title><style type=\"text/css\">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – Not Found</h1><hr class=\"line\" /><p><b>Type</b> Status Report</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class=\"line\" /><h3>Apache Tomcat/8.5.24</h3></body></html>"), 
    date = structure(1544519839, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = c(redirect = 0, namelookup = 0.00916, 
    connect = 0.07426, pretransfer = 0.188516, starttransfer = 0.289137, 
    total = 0.28921)), class = "response")
pepfar-datim/data-pack-commons documentation built on April 26, 2024, 12:09 a.m.