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

     1  {
     2    "Initial": "AQAAAA7agBQvEww3u/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": "45c22d2e1cfbaa8d",
    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:07 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              "fd73ffbe-e01e-0055-4f69-a908a9000000"
    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": "e4a2ba327889a3c9",
   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-Foo__0x20__bar__0x20__baz": [
   145              "foo%20bar%20baz"
   146            ],
   147            "X-Ms-Meta-Foo__0x22__bar__0x22__baz": [
   148              "foo%22bar%22baz"
   149            ],
   150            "X-Ms-Meta-Foo__0x2f____0x2f__bar__0x2f____0x2f____0x2f__baz": [
   151              "foo%2F%2Fbar%2F%2F%2Fbaz"
   152            ],
   153            "X-Ms-Meta-Foo__0x2f__bar__0x2f__baz": [
   154              "foo%2Fbar%2Fbaz"
   155            ],
   156            "X-Ms-Meta-Foo__0x5c__bar__0x5c__baz": [
   157              "foo%5Cbar%5Cbaz"
   158            ],
   159            "X-Ms-Meta-__0x0____0x1____0x2____0x3____0x4____0x5____0x6____0x7____0x8____0x9____0xa____0xb____0xc____0xd____0xe____0xf__": [
   160              "%00%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F"
   161            ],
   162            "X-Ms-Meta-__0x10____0x11____0x12____0x13____0x14____0x15____0x16____0x17____0x18____0x19____0x1a____0x1b____0x1c____0x1d____0x1e____0x1f__": [
   163              "%10%11%12%13%14%15%16%17%18%19%1A%1B%1C%1D%1E%1F"
   164            ],
   165            "X-Ms-Meta-__0x20____0x21____0x22____0x23____0x24____0x25____0x26____0x27____0x28____0x29____0x2a____0x2b____0x2c____0x2d____0x2e____0x2f__": [
   166              "%20%21%22%23$%25\u0026%27%28%29%2A+%2C-.%2F"
   167            ],
   168            "X-Ms-Meta-__0x263a____0x263a____0x263a__": [
   169              "%E2%98%BA%E2%98%BA%E2%98%BA"
   170            ],
   171            "X-Ms-Meta-__0x2e____0x2e____0x2f__foo__0x2f____0x2e____0x2e____0x2f__bar__0x2f____0x2e____0x2e____0x2f____0x2e____0x2e____0x2f__baz__0x2e____0x2e____0x2f__": [
   172              "..%2Ffoo%2F..%2Fbar%2F..%2F..%2Fbaz..%2F"
   173            ],
   174            "X-Ms-Meta-__0x2e____0x2e____0x5c__foo__0x5c____0x2e____0x2e____0x5c__bar__0x5c____0x2e____0x2e____0x5c____0x2e____0x2e____0x5c__baz__0x2e____0x2e____0x5c__": [
   175              "..%5Cfoo%5C..%5Cbar%5C..%5C..%5Cbaz..%5C"
   176            ],
   177            "X-Ms-Meta-__0x2e____0x2e____0x5c__foo__0x5c____0x5c__bar__0x5c____0x5c____0x5c__baz": [
   178              "..%5Cfoo%5C%5Cbar%5C%5C%5Cbaz"
   179            ],
   180            "X-Ms-Meta-__0x31__2345": [
   181              "12345"
   182            ],
   183            "X-Ms-Meta-__0x3a____0x3b____0x3c____0x3d____0x3e____0x3f__": [
   184              ":%3B%3C=%3E%3F"
   185            ],
   186            "X-Ms-Meta-__0x40__": [
   187              "@"
   188            ],
   189            "X-Ms-Meta-__0x5b____0x5c____0x5d____0x5e___": [
   190              "%5B%5C%5D%5E_"
   191            ],
   192            "X-Ms-Meta-__0x60__": [
   193              "%60"
   194            ],
   195            "X-Ms-Meta-__0x7b____0x7c____0x7d____0x7e____0x7f__": [
   196              "%7B%7C%7D~%7F"
   197            ],
   198            "X-Ms-Version": [
   199              "CLEARED"
   200            ]
   201          },
   202          "MediaType": "application/xml",
   203          "BodyParts": [
   204            "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KQ0xFQVJFRA=="
   205          ]
   206        },
   207        "Response": {
   208          "StatusCode": 201,
   209          "Proto": "HTTP/1.1",
   210          "ProtoMajor": 1,
   211          "ProtoMinor": 1,
   212          "Header": {
   213            "Content-Length": [
   214              "0"
   215            ],
   216            "Date": [
   217              "Sat, 06 Aug 2022 07:50:07 GMT"
   218            ],
   219            "Etag": [
   220              "\"0x8DA778047FCFDCC\""
   221            ],
   222            "Last-Modified": [
   223              "Sat, 06 Aug 2022 07:50:07 GMT"
   224            ],
   225            "Server": [
   226              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   227            ],
   228            "X-Ms-Content-Crc64": [
   229              "CzqAPGMAIg4="
   230            ],
   231            "X-Ms-Request-Id": [
   232              "fd73ffc2-e01e-0055-5269-a908a9000000"
   233            ],
   234            "X-Ms-Request-Server-Encrypted": [
   235              "true"
   236            ],
   237            "X-Ms-Version": [
   238              "CLEARED"
   239            ]
   240          },
   241          "Body": ""
   242        }
   243      },
   244      {
   245        "ID": "56cfe4cbda8deb45",
   246        "Request": {
   247          "Method": "HEAD",
   248          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-metadata",
   249          "Header": {
   250            "Accept": [
   251              "application/xml"
   252            ],
   253            "User-Agent": [
   254              "CLEARED"
   255            ],
   256            "X-Ms-Date": [
   257              "CLEARED"
   258            ],
   259            "X-Ms-Version": [
   260              "CLEARED"
   261            ]
   262          },
   263          "MediaType": "",
   264          "BodyParts": [
   265            null
   266          ]
   267        },
   268        "Response": {
   269          "StatusCode": 200,
   270          "Proto": "HTTP/1.1",
   271          "ProtoMajor": 1,
   272          "ProtoMinor": 1,
   273          "Header": {
   274            "Accept-Ranges": [
   275              "bytes"
   276            ],
   277            "Content-Disposition": [
   278              ""
   279            ],
   280            "Content-Length": [
   281              "5"
   282            ],
   283            "Content-Md5": [
   284              "XUFAKrxLKna5cZ2REBfFkg=="
   285            ],
   286            "Content-Type": [
   287              "text/plain; charset=utf-8"
   288            ],
   289            "Date": [
   290              "Sat, 06 Aug 2022 07:50:07 GMT"
   291            ],
   292            "Etag": [
   293              "\"0x8DA778047FCFDCC\""
   294            ],
   295            "Last-Modified": [
   296              "Sat, 06 Aug 2022 07:50:07 GMT"
   297            ],
   298            "Server": [
   299              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   300            ],
   301            "X-Ms-Access-Tier": [
   302              "Hot"
   303            ],
   304            "X-Ms-Access-Tier-Inferred": [
   305              "true"
   306            ],
   307            "X-Ms-Blob-Type": [
   308              "BlockBlob"
   309            ],
   310            "X-Ms-Creation-Time": [
   311              "Sat, 06 Aug 2022 07:50:07 GMT"
   312            ],
   313            "X-Ms-Lease-State": [
   314              "available"
   315            ],
   316            "X-Ms-Lease-Status": [
   317              "unlocked"
   318            ],
   319            "X-Ms-Meta-Foo__0x20__bar__0x20__baz": [
   320              "foo%20bar%20baz"
   321            ],
   322            "X-Ms-Meta-Foo__0x22__bar__0x22__baz": [
   323              "foo%22bar%22baz"
   324            ],
   325            "X-Ms-Meta-Foo__0x2f____0x2f__bar__0x2f____0x2f____0x2f__baz": [
   326              "foo%2F%2Fbar%2F%2F%2Fbaz"
   327            ],
   328            "X-Ms-Meta-Foo__0x2f__bar__0x2f__baz": [
   329              "foo%2Fbar%2Fbaz"
   330            ],
   331            "X-Ms-Meta-Foo__0x5c__bar__0x5c__baz": [
   332              "foo%5Cbar%5Cbaz"
   333            ],
   334            "X-Ms-Meta-__0x0____0x1____0x2____0x3____0x4____0x5____0x6____0x7____0x8____0x9____0xa____0xb____0xc____0xd____0xe____0xf__": [
   335              "%00%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F"
   336            ],
   337            "X-Ms-Meta-__0x10____0x11____0x12____0x13____0x14____0x15____0x16____0x17____0x18____0x19____0x1a____0x1b____0x1c____0x1d____0x1e____0x1f__": [
   338              "%10%11%12%13%14%15%16%17%18%19%1A%1B%1C%1D%1E%1F"
   339            ],
   340            "X-Ms-Meta-__0x20____0x21____0x22____0x23____0x24____0x25____0x26____0x27____0x28____0x29____0x2a____0x2b____0x2c____0x2d____0x2e____0x2f__": [
   341              "%20%21%22%23$%25\u0026%27%28%29%2A+%2C-.%2F"
   342            ],
   343            "X-Ms-Meta-__0x263a____0x263a____0x263a__": [
   344              "%E2%98%BA%E2%98%BA%E2%98%BA"
   345            ],
   346            "X-Ms-Meta-__0x2e____0x2e____0x2f__foo__0x2f____0x2e____0x2e____0x2f__bar__0x2f____0x2e____0x2e____0x2f____0x2e____0x2e____0x2f__baz__0x2e____0x2e____0x2f__": [
   347              "..%2Ffoo%2F..%2Fbar%2F..%2F..%2Fbaz..%2F"
   348            ],
   349            "X-Ms-Meta-__0x2e____0x2e____0x5c__foo__0x5c____0x2e____0x2e____0x5c__bar__0x5c____0x2e____0x2e____0x5c____0x2e____0x2e____0x5c__baz__0x2e____0x2e____0x5c__": [
   350              "..%5Cfoo%5C..%5Cbar%5C..%5C..%5Cbaz..%5C"
   351            ],
   352            "X-Ms-Meta-__0x2e____0x2e____0x5c__foo__0x5c____0x5c__bar__0x5c____0x5c____0x5c__baz": [
   353              "..%5Cfoo%5C%5Cbar%5C%5C%5Cbaz"
   354            ],
   355            "X-Ms-Meta-__0x31__2345": [
   356              "12345"
   357            ],
   358            "X-Ms-Meta-__0x3a____0x3b____0x3c____0x3d____0x3e____0x3f__": [
   359              ":%3B%3C=%3E%3F"
   360            ],
   361            "X-Ms-Meta-__0x40__": [
   362              "@"
   363            ],
   364            "X-Ms-Meta-__0x5b____0x5c____0x5d____0x5e___": [
   365              "%5B%5C%5D%5E_"
   366            ],
   367            "X-Ms-Meta-__0x60__": [
   368              "%60"
   369            ],
   370            "X-Ms-Meta-__0x7b____0x7c____0x7d____0x7e____0x7f__": [
   371              "%7B%7C%7D~%7F"
   372            ],
   373            "X-Ms-Request-Id": [
   374              "fd73ffc6-e01e-0055-5469-a908a9000000"
   375            ],
   376            "X-Ms-Server-Encrypted": [
   377              "true"
   378            ],
   379            "X-Ms-Version": [
   380              "CLEARED"
   381            ]
   382          },
   383          "Body": ""
   384        }
   385      },
   386      {
   387        "ID": "20d9f41e8e9d7252",
   388        "Request": {
   389          "Method": "DELETE",
   390          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-metadata",
   391          "Header": {
   392            "Accept": [
   393              "application/xml"
   394            ],
   395            "Accept-Encoding": [
   396              "gzip"
   397            ],
   398            "User-Agent": [
   399              "CLEARED"
   400            ],
   401            "X-Ms-Date": [
   402              "CLEARED"
   403            ],
   404            "X-Ms-Version": [
   405              "CLEARED"
   406            ]
   407          },
   408          "MediaType": "",
   409          "BodyParts": [
   410            null
   411          ]
   412        },
   413        "Response": {
   414          "StatusCode": 202,
   415          "Proto": "HTTP/1.1",
   416          "ProtoMajor": 1,
   417          "ProtoMinor": 1,
   418          "Header": {
   419            "Content-Length": [
   420              "0"
   421            ],
   422            "Date": [
   423              "Sat, 06 Aug 2022 07:50:07 GMT"
   424            ],
   425            "Server": [
   426              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   427            ],
   428            "X-Ms-Delete-Type-Permanent": [
   429              "true"
   430            ],
   431            "X-Ms-Request-Id": [
   432              "fd73ffc7-e01e-0055-5569-a908a9000000"
   433            ],
   434            "X-Ms-Version": [
   435              "CLEARED"
   436            ]
   437          },
   438          "Body": ""
   439        }
   440      }
   441    ]
   442  }