...

Text file src/github.com/gabriel-vasile/mimetype/testdata/har.har

Documentation: github.com/gabriel-vasile/mimetype/testdata

     1{
     2  "log": {
     3    "version": "1.2",
     4    "creator": {
     5      "name": "WebInspector",
     6      "version": "537.36"
     7    },
     8    "pages": [
     9      {
    10        "startedDateTime": "2021-08-14T04:22:59.975Z",
    11        "id": "page_2",
    12        "title": "http://example.com/",
    13        "pageTimings": {
    14          "onContentLoad": 992.4480000008771,
    15          "onLoad": 1054.7850000002654
    16        }
    17      }
    18    ],
    19    "entries": [
    20      {
    21        "_initiator": {
    22          "type": "other"
    23        },
    24        "_priority": "VeryHigh",
    25        "_resourceType": "document",
    26        "cache": {},
    27        "connection": "215113",
    28        "pageref": "page_2",
    29        "request": {
    30          "method": "GET",
    31          "url": "http://example.com/",
    32          "httpVersion": "HTTP/1.1",
    33          "headers": [
    34            {
    35              "name": "Host",
    36              "value": "example.com"
    37            },
    38            {
    39              "name": "Proxy-Connection",
    40              "value": "keep-alive"
    41            },
    42            {
    43              "name": "Pragma",
    44              "value": "no-cache"
    45            },
    46            {
    47              "name": "Cache-Control",
    48              "value": "no-cache"
    49            },
    50            {
    51              "name": "Upgrade-Insecure-Requests",
    52              "value": "1"
    53            },
    54            {
    55              "name": "User-Agent",
    56              "value": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36"
    57            },
    58            {
    59              "name": "Accept",
    60              "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
    61            },
    62            {
    63              "name": "Accept-Encoding",
    64              "value": "gzip, deflate"
    65            },
    66            {
    67              "name": "Accept-Language",
    68              "value": "en-US,en;q=0.9"
    69            }
    70          ],
    71          "queryString": [],
    72          "cookies": [],
    73          "headersSize": 467,
    74          "bodySize": 0
    75        },
    76        "response": {
    77          "status": 200,
    78          "statusText": "OK",
    79          "httpVersion": "HTTP/1.1",
    80          "headers": [
    81            {
    82              "name": "Accept-Ranges",
    83              "value": "bytes"
    84            },
    85            {
    86              "name": "Age",
    87              "value": "390086"
    88            },
    89            {
    90              "name": "Cache-Control",
    91              "value": "max-age=604800"
    92            },
    93            {
    94              "name": "Content-Type",
    95              "value": "text/html; charset=UTF-8"
    96            },
    97            {
    98              "name": "Date",
    99              "value": "Sat, 14 Aug 2021 04:23:00 GMT"
   100            },
   101            {
   102              "name": "Etag",
   103              "value": "\"3147526947\""
   104            },
   105            {
   106              "name": "Expires",
   107              "value": "Sat, 21 Aug 2021 04:23:00 GMT"
   108            },
   109            {
   110              "name": "Last-Modified",
   111              "value": "Thu, 17 Oct 2019 07:18:26 GMT"
   112            },
   113            {
   114              "name": "Server",
   115              "value": "ECS (dcb/7EC6)"
   116            },
   117            {
   118              "name": "Vary",
   119              "value": "Accept-Encoding"
   120            },
   121            {
   122              "name": "X-Cache",
   123              "value": "HIT"
   124            },
   125            {
   126              "name": "Content-Length",
   127              "value": "1256"
   128            },
   129            {
   130              "name": "Proxy-Connection",
   131              "value": "keep-alive"
   132            }
   133          ],
   134          "cookies": [],
   135          "content": {
   136            "size": 1256,
   137            "mimeType": "text/html",
   138            "compression": 0,
   139            "text": "<!doctype html>\n<html>\n<head>\n    <title>Example Domain</title>\n\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n    <style type=\"text/css\">\n    body {\n        background-color: #f0f0f2;\n        margin: 0;\n        padding: 0;\n        font-family: -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n        \n    }\n    div {\n        width: 600px;\n        margin: 5em auto;\n        padding: 2em;\n        background-color: #fdfdff;\n        border-radius: 0.5em;\n        box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02);\n    }\n    a:link, a:visited {\n        color: #38488f;\n        text-decoration: none;\n    }\n    @media (max-width: 700px) {\n        div {\n            margin: 0 auto;\n            width: auto;\n        }\n    }\n    </style>    \n</head>\n\n<body>\n<div>\n    <h1>Example Domain</h1>\n    <p>This domain is for use in illustrative examples in documents. You may use this\n    domain in literature without prior coordination or asking for permission.</p>\n    <p><a href=\"https://www.iana.org/domains/example\">More information...</a></p>\n</div>\n</body>\n</html>\n"
   140          },
   141          "redirectURL": "",
   142          "headersSize": 381,
   143          "bodySize": 1256,
   144          "_transferSize": 1637,
   145          "_error": null
   146        },
   147        "serverIPAddress": "127.0.0.1",
   148        "startedDateTime": "2021-08-14T04:22:59.968Z",
   149        "time": 948.011000000406,
   150        "timings": {
   151          "blocked": 10.241999999793713,
   152          "dns": -1,
   153          "ssl": -1,
   154          "connect": -1,
   155          "send": 0.19499999999999984,
   156          "wait": 936.1970000001099,
   157          "receive": 1.3770000005024485,
   158          "_blocked_queueing": 6.790999999793712
   159        }
   160      }
   161    ]
   162  }
   163}

View as plain text