github.com/cornelk/go-cloud@v0.17.1/blob/azureblob/testdata/TestConformance/TestMetadata/valid_metadata.replay (about)

     1  {
     2    "Initial": "AQAAAA7U35MdBdJXL/5c",
     3    "Version": "0.2",
     4    "Converter": {
     5      "ClearHeaders": [
     6        "^X-Goog-.*Encryption-Key$",
     7        "^X-Ms-Date$",
     8        "^User-Agent$"
     9      ],
    10      "RemoveRequestHeaders": [
    11        "^Authorization$",
    12        "^Proxy-Authorization$",
    13        "^Connection$",
    14        "^Content-Type$",
    15        "^Date$",
    16        "^Host$",
    17        "^Transfer-Encoding$",
    18        "^Via$",
    19        "^X-Forwarded-.*$",
    20        "^X-Cloud-Trace-Context$",
    21        "^X-Goog-Api-Client$",
    22        "^X-Google-.*$",
    23        "^X-Gfe-.*$"
    24      ],
    25      "RemoveResponseHeaders": [
    26        "^X-Google-.*$",
    27        "^X-Gfe-.*$"
    28      ],
    29      "ClearParams": null,
    30      "RemoveParams": [
    31        "^se$",
    32        "^sig$",
    33        "^X-Ms-Date$"
    34      ]
    35    },
    36    "Entries": [
    37      {
    38        "ID": "6adedde27edfd50a",
    39        "Request": {
    40          "Method": "PUT",
    41          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-metadata",
    42          "Header": {
    43            "Accept-Encoding": [
    44              "gzip"
    45            ],
    46            "Content-Length": [
    47              "5"
    48            ],
    49            "User-Agent": [
    50              "CLEARED"
    51            ],
    52            "X-Ms-Blob-Cache-Control": [
    53              ""
    54            ],
    55            "X-Ms-Blob-Content-Disposition": [
    56              ""
    57            ],
    58            "X-Ms-Blob-Content-Encoding": [
    59              ""
    60            ],
    61            "X-Ms-Blob-Content-Language": [
    62              ""
    63            ],
    64            "X-Ms-Blob-Content-Md5": [
    65              "XUFAKrxLKna5cZ2REBfFkg=="
    66            ],
    67            "X-Ms-Blob-Content-Type": [
    68              "text/plain; charset=utf-8"
    69            ],
    70            "X-Ms-Blob-Type": [
    71              "BlockBlob"
    72            ],
    73            "X-Ms-Date": [
    74              "CLEARED"
    75            ],
    76            "X-Ms-Meta-Key_a": [
    77              "value-a"
    78            ],
    79            "X-Ms-Meta-Key_b": [
    80              "value-b"
    81            ],
    82            "X-Ms-Meta-Key_c": [
    83              "vAlUe-c"
    84            ],
    85            "X-Ms-Version": [
    86              "2018-11-09"
    87            ]
    88          },
    89          "MediaType": "text/plain",
    90          "BodyParts": [
    91            "aGVsbG8="
    92          ]
    93        },
    94        "Response": {
    95          "StatusCode": 201,
    96          "Proto": "HTTP/1.1",
    97          "ProtoMajor": 1,
    98          "ProtoMinor": 1,
    99          "Header": {
   100            "Content-Length": [
   101              "0"
   102            ],
   103            "Content-Md5": [
   104              "XUFAKrxLKna5cZ2REBfFkg=="
   105            ],
   106            "Date": [
   107              "Fri, 09 Aug 2019 16:15:24 GMT"
   108            ],
   109            "Etag": [
   110              "\"0x8D71CE4C949F70B\""
   111            ],
   112            "Last-Modified": [
   113              "Fri, 09 Aug 2019 16:15:25 GMT"
   114            ],
   115            "Server": [
   116              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   117            ],
   118            "X-Ms-Request-Id": [
   119              "d67484a1-f01e-0029-55cd-4e2296000000"
   120            ],
   121            "X-Ms-Request-Server-Encrypted": [
   122              "true"
   123            ],
   124            "X-Ms-Version": [
   125              "2018-11-09"
   126            ]
   127          },
   128          "Body": ""
   129        }
   130      },
   131      {
   132        "ID": "690d44f53e304252",
   133        "Request": {
   134          "Method": "HEAD",
   135          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-metadata",
   136          "Header": {
   137            "User-Agent": [
   138              "CLEARED"
   139            ],
   140            "X-Ms-Date": [
   141              "CLEARED"
   142            ],
   143            "X-Ms-Version": [
   144              "2018-11-09"
   145            ]
   146          },
   147          "MediaType": "",
   148          "BodyParts": [
   149            ""
   150          ]
   151        },
   152        "Response": {
   153          "StatusCode": 200,
   154          "Proto": "HTTP/1.1",
   155          "ProtoMajor": 1,
   156          "ProtoMinor": 1,
   157          "Header": {
   158            "Accept-Ranges": [
   159              "bytes"
   160            ],
   161            "Content-Disposition": [
   162              ""
   163            ],
   164            "Content-Length": [
   165              "5"
   166            ],
   167            "Content-Md5": [
   168              "XUFAKrxLKna5cZ2REBfFkg=="
   169            ],
   170            "Content-Type": [
   171              "text/plain; charset=utf-8"
   172            ],
   173            "Date": [
   174              "Fri, 09 Aug 2019 16:15:24 GMT"
   175            ],
   176            "Etag": [
   177              "\"0x8D71CE4C949F70B\""
   178            ],
   179            "Last-Modified": [
   180              "Fri, 09 Aug 2019 16:15:25 GMT"
   181            ],
   182            "Server": [
   183              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   184            ],
   185            "X-Ms-Access-Tier": [
   186              "Hot"
   187            ],
   188            "X-Ms-Access-Tier-Inferred": [
   189              "true"
   190            ],
   191            "X-Ms-Blob-Type": [
   192              "BlockBlob"
   193            ],
   194            "X-Ms-Creation-Time": [
   195              "Fri, 09 Aug 2019 16:15:25 GMT"
   196            ],
   197            "X-Ms-Lease-State": [
   198              "available"
   199            ],
   200            "X-Ms-Lease-Status": [
   201              "unlocked"
   202            ],
   203            "X-Ms-Meta-Key_a": [
   204              "value-a"
   205            ],
   206            "X-Ms-Meta-Key_b": [
   207              "value-b"
   208            ],
   209            "X-Ms-Meta-Key_c": [
   210              "vAlUe-c"
   211            ],
   212            "X-Ms-Request-Id": [
   213              "d67484bd-f01e-0029-6dcd-4e2296000000"
   214            ],
   215            "X-Ms-Server-Encrypted": [
   216              "true"
   217            ],
   218            "X-Ms-Tag-Count": [
   219              "0"
   220            ],
   221            "X-Ms-Version": [
   222              "2018-11-09"
   223            ]
   224          },
   225          "Body": ""
   226        }
   227      },
   228      {
   229        "ID": "50207679cb359ce8",
   230        "Request": {
   231          "Method": "DELETE",
   232          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-metadata",
   233          "Header": {
   234            "Accept-Encoding": [
   235              "gzip"
   236            ],
   237            "User-Agent": [
   238              "CLEARED"
   239            ],
   240            "X-Ms-Date": [
   241              "CLEARED"
   242            ],
   243            "X-Ms-Delete-Snapshots": [
   244              "include"
   245            ],
   246            "X-Ms-Version": [
   247              "2018-11-09"
   248            ]
   249          },
   250          "MediaType": "",
   251          "BodyParts": [
   252            ""
   253          ]
   254        },
   255        "Response": {
   256          "StatusCode": 202,
   257          "Proto": "HTTP/1.1",
   258          "ProtoMajor": 1,
   259          "ProtoMinor": 1,
   260          "Header": {
   261            "Content-Length": [
   262              "0"
   263            ],
   264            "Date": [
   265              "Fri, 09 Aug 2019 16:15:24 GMT"
   266            ],
   267            "Server": [
   268              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   269            ],
   270            "X-Ms-Delete-Type-Permanent": [
   271              "true"
   272            ],
   273            "X-Ms-Request-Id": [
   274              "d67484d6-f01e-0029-01cd-4e2296000000"
   275            ],
   276            "X-Ms-Version": [
   277              "2018-11-09"
   278            ]
   279          },
   280          "Body": ""
   281        }
   282      }
   283    ]
   284  }