github.com/SaurabhDubey-Groww/go-cloud@v0.0.0-20221124105541-b26c29285fd8/blob/azureblob/testdata/TestConformance/TestMetadata/valid_metadata.replay (about)

     1  {
     2    "Initial": "AQAAAA7agBQvB6PgV/5c",
     3    "Version": "0.2",
     4    "Converter": {
     5      "ScrubBody": [
     6        "\u003cBlock(l|L)ist\u003e\u003cLatest\u003e.*\u003c/Latest\u003e\u003c/Block(l|L)ist\u003e"
     7      ],
     8      "ClearHeaders": [
     9        "^X-Goog-.*Encryption-Key$",
    10        "^X-Ms-Date$",
    11        "^X-Ms-Version$",
    12        "^User-Agent$"
    13      ],
    14      "RemoveRequestHeaders": [
    15        "^Authorization$",
    16        "^Proxy-Authorization$",
    17        "^Connection$",
    18        "^Content-Type$",
    19        "^Date$",
    20        "^Host$",
    21        "^Transfer-Encoding$",
    22        "^Via$",
    23        "^X-Forwarded-.*$",
    24        "^X-Cloud-Trace-Context$",
    25        "^X-Goog-Api-Client$",
    26        "^X-Google-.*$",
    27        "^X-Gfe-.*$"
    28      ],
    29      "RemoveResponseHeaders": [
    30        "^X-Google-.*$",
    31        "^X-Gfe-.*$"
    32      ],
    33      "ClearParams": [
    34        "^blockid$"
    35      ],
    36      "RemoveParams": [
    37        "^se$",
    38        "^sig$",
    39        "^st$",
    40        "^X-Ms-Date$"
    41      ]
    42    },
    43    "Entries": [
    44      {
    45        "ID": "989218394a341b2c",
    46        "Request": {
    47          "Method": "PUT",
    48          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-metadata?blockid=CLEARED\u0026comp=block",
    49          "Header": {
    50            "Accept": [
    51              "application/xml"
    52            ],
    53            "Accept-Encoding": [
    54              "gzip"
    55            ],
    56            "Content-Length": [
    57              "5"
    58            ],
    59            "User-Agent": [
    60              "CLEARED"
    61            ],
    62            "X-Ms-Date": [
    63              "CLEARED"
    64            ],
    65            "X-Ms-Version": [
    66              "CLEARED"
    67            ]
    68          },
    69          "MediaType": "application/octet-stream",
    70          "BodyParts": [
    71            "aGVsbG8="
    72          ]
    73        },
    74        "Response": {
    75          "StatusCode": 201,
    76          "Proto": "HTTP/1.1",
    77          "ProtoMajor": 1,
    78          "ProtoMinor": 1,
    79          "Header": {
    80            "Content-Length": [
    81              "0"
    82            ],
    83            "Date": [
    84              "Sat, 06 Aug 2022 07:50:06 GMT"
    85            ],
    86            "Server": [
    87              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
    88            ],
    89            "X-Ms-Content-Crc64": [
    90              "V0JSBnCFdzM="
    91            ],
    92            "X-Ms-Request-Id": [
    93              "cb40aad0-a01e-0026-4069-a9503a000000"
    94            ],
    95            "X-Ms-Request-Server-Encrypted": [
    96              "true"
    97            ],
    98            "X-Ms-Version": [
    99              "CLEARED"
   100            ]
   101          },
   102          "Body": ""
   103        }
   104      },
   105      {
   106        "ID": "6bb927ed8f9bef9f",
   107        "Request": {
   108          "Method": "PUT",
   109          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-metadata?comp=blocklist",
   110          "Header": {
   111            "Accept": [
   112              "application/xml"
   113            ],
   114            "Accept-Encoding": [
   115              "gzip"
   116            ],
   117            "Content-Length": [
   118              "167"
   119            ],
   120            "User-Agent": [
   121              "CLEARED"
   122            ],
   123            "X-Ms-Blob-Cache-Control": [
   124              ""
   125            ],
   126            "X-Ms-Blob-Content-Disposition": [
   127              ""
   128            ],
   129            "X-Ms-Blob-Content-Encoding": [
   130              ""
   131            ],
   132            "X-Ms-Blob-Content-Language": [
   133              ""
   134            ],
   135            "X-Ms-Blob-Content-Md5": [
   136              "XUFAKrxLKna5cZ2REBfFkg=="
   137            ],
   138            "X-Ms-Blob-Content-Type": [
   139              "text/plain; charset=utf-8"
   140            ],
   141            "X-Ms-Date": [
   142              "CLEARED"
   143            ],
   144            "X-Ms-Meta-Key_a": [
   145              "value-a"
   146            ],
   147            "X-Ms-Meta-Key_b": [
   148              "value-b"
   149            ],
   150            "X-Ms-Meta-Key_c": [
   151              "vAlUe-c"
   152            ],
   153            "X-Ms-Version": [
   154              "CLEARED"
   155            ]
   156          },
   157          "MediaType": "application/xml",
   158          "BodyParts": [
   159            "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KQ0xFQVJFRA=="
   160          ]
   161        },
   162        "Response": {
   163          "StatusCode": 201,
   164          "Proto": "HTTP/1.1",
   165          "ProtoMajor": 1,
   166          "ProtoMinor": 1,
   167          "Header": {
   168            "Content-Length": [
   169              "0"
   170            ],
   171            "Date": [
   172              "Sat, 06 Aug 2022 07:50:06 GMT"
   173            ],
   174            "Etag": [
   175              "\"0x8DA778047DF67FF\""
   176            ],
   177            "Last-Modified": [
   178              "Sat, 06 Aug 2022 07:50:07 GMT"
   179            ],
   180            "Server": [
   181              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   182            ],
   183            "X-Ms-Content-Crc64": [
   184              "bQJTdqeTEWE="
   185            ],
   186            "X-Ms-Request-Id": [
   187              "cb40aad5-a01e-0026-4369-a9503a000000"
   188            ],
   189            "X-Ms-Request-Server-Encrypted": [
   190              "true"
   191            ],
   192            "X-Ms-Version": [
   193              "CLEARED"
   194            ]
   195          },
   196          "Body": ""
   197        }
   198      },
   199      {
   200        "ID": "4b46f9b2b6739aef",
   201        "Request": {
   202          "Method": "HEAD",
   203          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-metadata",
   204          "Header": {
   205            "Accept": [
   206              "application/xml"
   207            ],
   208            "User-Agent": [
   209              "CLEARED"
   210            ],
   211            "X-Ms-Date": [
   212              "CLEARED"
   213            ],
   214            "X-Ms-Version": [
   215              "CLEARED"
   216            ]
   217          },
   218          "MediaType": "",
   219          "BodyParts": [
   220            null
   221          ]
   222        },
   223        "Response": {
   224          "StatusCode": 200,
   225          "Proto": "HTTP/1.1",
   226          "ProtoMajor": 1,
   227          "ProtoMinor": 1,
   228          "Header": {
   229            "Accept-Ranges": [
   230              "bytes"
   231            ],
   232            "Content-Disposition": [
   233              ""
   234            ],
   235            "Content-Length": [
   236              "5"
   237            ],
   238            "Content-Md5": [
   239              "XUFAKrxLKna5cZ2REBfFkg=="
   240            ],
   241            "Content-Type": [
   242              "text/plain; charset=utf-8"
   243            ],
   244            "Date": [
   245              "Sat, 06 Aug 2022 07:50:06 GMT"
   246            ],
   247            "Etag": [
   248              "\"0x8DA778047DF67FF\""
   249            ],
   250            "Last-Modified": [
   251              "Sat, 06 Aug 2022 07:50:07 GMT"
   252            ],
   253            "Server": [
   254              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   255            ],
   256            "X-Ms-Access-Tier": [
   257              "Hot"
   258            ],
   259            "X-Ms-Access-Tier-Inferred": [
   260              "true"
   261            ],
   262            "X-Ms-Blob-Type": [
   263              "BlockBlob"
   264            ],
   265            "X-Ms-Creation-Time": [
   266              "Sat, 06 Aug 2022 07:50:07 GMT"
   267            ],
   268            "X-Ms-Lease-State": [
   269              "available"
   270            ],
   271            "X-Ms-Lease-Status": [
   272              "unlocked"
   273            ],
   274            "X-Ms-Meta-Key_a": [
   275              "value-a"
   276            ],
   277            "X-Ms-Meta-Key_b": [
   278              "value-b"
   279            ],
   280            "X-Ms-Meta-Key_c": [
   281              "vAlUe-c"
   282            ],
   283            "X-Ms-Request-Id": [
   284              "cb40aad9-a01e-0026-4769-a9503a000000"
   285            ],
   286            "X-Ms-Server-Encrypted": [
   287              "true"
   288            ],
   289            "X-Ms-Version": [
   290              "CLEARED"
   291            ]
   292          },
   293          "Body": ""
   294        }
   295      },
   296      {
   297        "ID": "4b622882494b0197",
   298        "Request": {
   299          "Method": "DELETE",
   300          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-metadata",
   301          "Header": {
   302            "Accept": [
   303              "application/xml"
   304            ],
   305            "Accept-Encoding": [
   306              "gzip"
   307            ],
   308            "User-Agent": [
   309              "CLEARED"
   310            ],
   311            "X-Ms-Date": [
   312              "CLEARED"
   313            ],
   314            "X-Ms-Version": [
   315              "CLEARED"
   316            ]
   317          },
   318          "MediaType": "",
   319          "BodyParts": [
   320            null
   321          ]
   322        },
   323        "Response": {
   324          "StatusCode": 202,
   325          "Proto": "HTTP/1.1",
   326          "ProtoMajor": 1,
   327          "ProtoMinor": 1,
   328          "Header": {
   329            "Content-Length": [
   330              "0"
   331            ],
   332            "Date": [
   333              "Sat, 06 Aug 2022 07:50:06 GMT"
   334            ],
   335            "Server": [
   336              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   337            ],
   338            "X-Ms-Delete-Type-Permanent": [
   339              "true"
   340            ],
   341            "X-Ms-Request-Id": [
   342              "cb40aadc-a01e-0026-4a69-a9503a000000"
   343            ],
   344            "X-Ms-Version": [
   345              "CLEARED"
   346            ]
   347          },
   348          "Body": ""
   349        }
   350      }
   351    ]
   352  }