tests/testthat/gh_api_response/api.github.com/none/existent/endpoint.R

structure(list(url = "https://api.github.com/none/existent/endpoint",
    status_code = 404L, headers = structure(list(server = "GitHub.com",
        date = "Fri, 22 Apr 2022 09:11:19 GMT", `content-type` = "application/json; charset=utf-8",
        `x-github-media-type` = "github.v3", `access-control-expose-headers` = "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
        `access-control-allow-origin` = "*", `strict-transport-security` = "max-age=31536000; includeSubdomains; preload",
        `x-frame-options` = "deny", `x-content-type-options` = "nosniff",
        `x-xss-protection` = "0", `referrer-policy` = "origin-when-cross-origin, strict-origin-when-cross-origin",
        `content-security-policy` = "default-src 'none'", vary = "Accept-Encoding, Accept, X-Requested-With",
        `content-encoding` = "gzip", `x-ratelimit-limit` = "60",
        `x-ratelimit-remaining` = "53", `x-ratelimit-reset` = "1650619626",
        `x-ratelimit-resource` = "core", `x-ratelimit-used` = "7",
        `content-length` = "91", `x-github-request-id` = "CDDA:58C2:110F6F:115A6D:62627136"), class = c("insensitive",
    "list")), all_headers = list(list(status = 404L, version = "HTTP/2",
        headers = structure(list(server = "GitHub.com", date = "Fri, 22 Apr 2022 09:11:19 GMT",
            `content-type` = "application/json; charset=utf-8",
            `x-github-media-type` = "github.v3", `access-control-expose-headers` = "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
            `access-control-allow-origin` = "*", `strict-transport-security` = "max-age=31536000; includeSubdomains; preload",
            `x-frame-options` = "deny", `x-content-type-options` = "nosniff",
            `x-xss-protection` = "0", `referrer-policy` = "origin-when-cross-origin, strict-origin-when-cross-origin",
            `content-security-policy` = "default-src 'none'",
            vary = "Accept-Encoding, Accept, X-Requested-With",
            `content-encoding` = "gzip", `x-ratelimit-limit` = "60",
            `x-ratelimit-remaining` = "53", `x-ratelimit-reset` = "1650619626",
            `x-ratelimit-resource` = "core", `x-ratelimit-used` = "7",
            `content-length` = "91", `x-github-request-id` = "CDDA:58C2:110F6F:115A6D:62627136"), class = c("insensitive",
        "list")))), cookies = structure(list(domain = logical(0),
        flag = logical(0), path = logical(0), secure = logical(0),
        expiration = structure(numeric(0), class = c("POSIXct",
        "POSIXt")), name = logical(0), value = logical(0)), row.names = integer(0), class = "data.frame"),
    content = charToRaw("{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest\"}"),
    date = structure(1650618679, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = c(redirect = 0, namelookup = 2.1e-05,
    connect = 2.3e-05, pretransfer = 0.00012, starttransfer = 0.145512,
    total = 0.145673)), class = "response")
Rapporteket/raptools documentation built on May 1, 2022, 6:42 a.m.