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

     1  {
     2    "Initial": "AQAAAA7agBQvC0shlf5c",
     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": "5d97f3816a7575cf",
    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              "47393104-d01e-004e-3769-a936aa000000"
    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": "055cf8a30eb4fa98",
   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": [
   145              "bar"
   146            ],
   147            "X-Ms-Version": [
   148              "CLEARED"
   149            ]
   150          },
   151          "MediaType": "application/xml",
   152          "BodyParts": [
   153            "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KQ0xFQVJFRA=="
   154          ]
   155        },
   156        "Response": {
   157          "StatusCode": 201,
   158          "Proto": "HTTP/1.1",
   159          "ProtoMajor": 1,
   160          "ProtoMinor": 1,
   161          "Header": {
   162            "Content-Length": [
   163              "0"
   164            ],
   165            "Date": [
   166              "Sat, 06 Aug 2022 07:50:06 GMT"
   167            ],
   168            "Etag": [
   169              "\"0x8DA778047E92A8C\""
   170            ],
   171            "Last-Modified": [
   172              "Sat, 06 Aug 2022 07:50:07 GMT"
   173            ],
   174            "Server": [
   175              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   176            ],
   177            "X-Ms-Content-Crc64": [
   178              "aE4om3JIopo="
   179            ],
   180            "X-Ms-Request-Id": [
   181              "4739310e-d01e-004e-3f69-a936aa000000"
   182            ],
   183            "X-Ms-Request-Server-Encrypted": [
   184              "true"
   185            ],
   186            "X-Ms-Version": [
   187              "CLEARED"
   188            ]
   189          },
   190          "Body": ""
   191        }
   192      },
   193      {
   194        "ID": "e0c576fc67e0e5cc",
   195        "Request": {
   196          "Method": "HEAD",
   197          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-metadata",
   198          "Header": {
   199            "Accept": [
   200              "application/xml"
   201            ],
   202            "User-Agent": [
   203              "CLEARED"
   204            ],
   205            "X-Ms-Date": [
   206              "CLEARED"
   207            ],
   208            "X-Ms-Version": [
   209              "CLEARED"
   210            ]
   211          },
   212          "MediaType": "",
   213          "BodyParts": [
   214            null
   215          ]
   216        },
   217        "Response": {
   218          "StatusCode": 200,
   219          "Proto": "HTTP/1.1",
   220          "ProtoMajor": 1,
   221          "ProtoMinor": 1,
   222          "Header": {
   223            "Accept-Ranges": [
   224              "bytes"
   225            ],
   226            "Content-Disposition": [
   227              ""
   228            ],
   229            "Content-Length": [
   230              "5"
   231            ],
   232            "Content-Md5": [
   233              "XUFAKrxLKna5cZ2REBfFkg=="
   234            ],
   235            "Content-Type": [
   236              "text/plain; charset=utf-8"
   237            ],
   238            "Date": [
   239              "Sat, 06 Aug 2022 07:50:06 GMT"
   240            ],
   241            "Etag": [
   242              "\"0x8DA778047E92A8C\""
   243            ],
   244            "Last-Modified": [
   245              "Sat, 06 Aug 2022 07:50:07 GMT"
   246            ],
   247            "Server": [
   248              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   249            ],
   250            "X-Ms-Access-Tier": [
   251              "Hot"
   252            ],
   253            "X-Ms-Access-Tier-Inferred": [
   254              "true"
   255            ],
   256            "X-Ms-Blob-Type": [
   257              "BlockBlob"
   258            ],
   259            "X-Ms-Creation-Time": [
   260              "Sat, 06 Aug 2022 07:50:07 GMT"
   261            ],
   262            "X-Ms-Lease-State": [
   263              "available"
   264            ],
   265            "X-Ms-Lease-Status": [
   266              "unlocked"
   267            ],
   268            "X-Ms-Meta-Foo": [
   269              "bar"
   270            ],
   271            "X-Ms-Request-Id": [
   272              "47393113-d01e-004e-4469-a936aa000000"
   273            ],
   274            "X-Ms-Server-Encrypted": [
   275              "true"
   276            ],
   277            "X-Ms-Version": [
   278              "CLEARED"
   279            ]
   280          },
   281          "Body": ""
   282        }
   283      },
   284      {
   285        "ID": "6f27c5bc5f9ecc93",
   286        "Request": {
   287          "Method": "DELETE",
   288          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-metadata",
   289          "Header": {
   290            "Accept": [
   291              "application/xml"
   292            ],
   293            "Accept-Encoding": [
   294              "gzip"
   295            ],
   296            "User-Agent": [
   297              "CLEARED"
   298            ],
   299            "X-Ms-Date": [
   300              "CLEARED"
   301            ],
   302            "X-Ms-Version": [
   303              "CLEARED"
   304            ]
   305          },
   306          "MediaType": "",
   307          "BodyParts": [
   308            null
   309          ]
   310        },
   311        "Response": {
   312          "StatusCode": 202,
   313          "Proto": "HTTP/1.1",
   314          "ProtoMajor": 1,
   315          "ProtoMinor": 1,
   316          "Header": {
   317            "Content-Length": [
   318              "0"
   319            ],
   320            "Date": [
   321              "Sat, 06 Aug 2022 07:50:06 GMT"
   322            ],
   323            "Server": [
   324              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   325            ],
   326            "X-Ms-Delete-Type-Permanent": [
   327              "true"
   328            ],
   329            "X-Ms-Request-Id": [
   330              "47393118-d01e-004e-4969-a936aa000000"
   331            ],
   332            "X-Ms-Version": [
   333              "CLEARED"
   334            ]
   335          },
   336          "Body": ""
   337        }
   338      }
   339    ]
   340  }