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

     1  {
     2    "Initial": "AQAAAA7U35MXLwXQq/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": "38679f36a4ef338d",
    39        "Request": {
    40          "Method": "PUT",
    41          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-attributes",
    42          "Header": {
    43            "Accept-Encoding": [
    44              "gzip"
    45            ],
    46            "Content-Length": [
    47              "12"
    48            ],
    49            "User-Agent": [
    50              "CLEARED"
    51            ],
    52            "X-Ms-Blob-Cache-Control": [
    53              "no-cache"
    54            ],
    55            "X-Ms-Blob-Content-Disposition": [
    56              "inline"
    57            ],
    58            "X-Ms-Blob-Content-Encoding": [
    59              "identity"
    60            ],
    61            "X-Ms-Blob-Content-Language": [
    62              "en"
    63            ],
    64            "X-Ms-Blob-Content-Md5": [
    65              "7Qdih1MuhjZehB6Sv8UNjA=="
    66            ],
    67            "X-Ms-Blob-Content-Type": [
    68              "text/plain"
    69            ],
    70            "X-Ms-Blob-Type": [
    71              "BlockBlob"
    72            ],
    73            "X-Ms-Date": [
    74              "CLEARED"
    75            ],
    76            "X-Ms-Version": [
    77              "2018-11-09"
    78            ]
    79          },
    80          "MediaType": "text/plain",
    81          "BodyParts": [
    82            "SGVsbG8gV29ybGQh"
    83          ]
    84        },
    85        "Response": {
    86          "StatusCode": 201,
    87          "Proto": "HTTP/1.1",
    88          "ProtoMajor": 1,
    89          "ProtoMinor": 1,
    90          "Header": {
    91            "Content-Length": [
    92              "0"
    93            ],
    94            "Content-Md5": [
    95              "7Qdih1MuhjZehB6Sv8UNjA=="
    96            ],
    97            "Date": [
    98              "Fri, 09 Aug 2019 16:15:19 GMT"
    99            ],
   100            "Etag": [
   101              "\"0x8D71CE4C62A9C08\""
   102            ],
   103            "Last-Modified": [
   104              "Fri, 09 Aug 2019 16:15:19 GMT"
   105            ],
   106            "Server": [
   107              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   108            ],
   109            "X-Ms-Request-Id": [
   110              "3ced107d-701e-0038-0ecd-4e158d000000"
   111            ],
   112            "X-Ms-Request-Server-Encrypted": [
   113              "true"
   114            ],
   115            "X-Ms-Version": [
   116              "2018-11-09"
   117            ]
   118          },
   119          "Body": ""
   120        }
   121      },
   122      {
   123        "ID": "5662fcda6218606f",
   124        "Request": {
   125          "Method": "HEAD",
   126          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/not-found",
   127          "Header": {
   128            "User-Agent": [
   129              "CLEARED"
   130            ],
   131            "X-Ms-Date": [
   132              "CLEARED"
   133            ],
   134            "X-Ms-Version": [
   135              "2018-11-09"
   136            ]
   137          },
   138          "MediaType": "",
   139          "BodyParts": [
   140            ""
   141          ]
   142        },
   143        "Response": {
   144          "StatusCode": 404,
   145          "Proto": "HTTP/1.1",
   146          "ProtoMajor": 1,
   147          "ProtoMinor": 1,
   148          "Header": {
   149            "Date": [
   150              "Fri, 09 Aug 2019 16:15:19 GMT"
   151            ],
   152            "Server": [
   153              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   154            ],
   155            "X-Ms-Error-Code": [
   156              "BlobNotFound"
   157            ],
   158            "X-Ms-Request-Id": [
   159              "3ced10d9-701e-0038-5dcd-4e158d000000"
   160            ],
   161            "X-Ms-Version": [
   162              "2018-11-09"
   163            ]
   164          },
   165          "Body": ""
   166        }
   167      },
   168      {
   169        "ID": "20feede891872247",
   170        "Request": {
   171          "Method": "HEAD",
   172          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-attributes",
   173          "Header": {
   174            "User-Agent": [
   175              "CLEARED"
   176            ],
   177            "X-Ms-Date": [
   178              "CLEARED"
   179            ],
   180            "X-Ms-Version": [
   181              "2018-11-09"
   182            ]
   183          },
   184          "MediaType": "",
   185          "BodyParts": [
   186            ""
   187          ]
   188        },
   189        "Response": {
   190          "StatusCode": 200,
   191          "Proto": "HTTP/1.1",
   192          "ProtoMajor": 1,
   193          "ProtoMinor": 1,
   194          "Header": {
   195            "Accept-Ranges": [
   196              "bytes"
   197            ],
   198            "Cache-Control": [
   199              "no-cache"
   200            ],
   201            "Content-Disposition": [
   202              "inline"
   203            ],
   204            "Content-Encoding": [
   205              "identity"
   206            ],
   207            "Content-Language": [
   208              "en"
   209            ],
   210            "Content-Length": [
   211              "12"
   212            ],
   213            "Content-Md5": [
   214              "7Qdih1MuhjZehB6Sv8UNjA=="
   215            ],
   216            "Content-Type": [
   217              "text/plain"
   218            ],
   219            "Date": [
   220              "Fri, 09 Aug 2019 16:15:19 GMT"
   221            ],
   222            "Etag": [
   223              "\"0x8D71CE4C62A9C08\""
   224            ],
   225            "Last-Modified": [
   226              "Fri, 09 Aug 2019 16:15:19 GMT"
   227            ],
   228            "Server": [
   229              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   230            ],
   231            "X-Ms-Access-Tier": [
   232              "Hot"
   233            ],
   234            "X-Ms-Access-Tier-Inferred": [
   235              "true"
   236            ],
   237            "X-Ms-Blob-Type": [
   238              "BlockBlob"
   239            ],
   240            "X-Ms-Creation-Time": [
   241              "Fri, 09 Aug 2019 16:15:19 GMT"
   242            ],
   243            "X-Ms-Lease-State": [
   244              "available"
   245            ],
   246            "X-Ms-Lease-Status": [
   247              "unlocked"
   248            ],
   249            "X-Ms-Request-Id": [
   250              "3ced10e5-701e-0038-68cd-4e158d000000"
   251            ],
   252            "X-Ms-Server-Encrypted": [
   253              "true"
   254            ],
   255            "X-Ms-Tag-Count": [
   256              "0"
   257            ],
   258            "X-Ms-Version": [
   259              "2018-11-09"
   260            ]
   261          },
   262          "Body": ""
   263        }
   264      },
   265      {
   266        "ID": "81195c2c9cb2a052",
   267        "Request": {
   268          "Method": "GET",
   269          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-attributes",
   270          "Header": {
   271            "Accept-Encoding": [
   272              "gzip"
   273            ],
   274            "User-Agent": [
   275              "CLEARED"
   276            ],
   277            "X-Ms-Date": [
   278              "CLEARED"
   279            ],
   280            "X-Ms-Version": [
   281              "2018-11-09"
   282            ]
   283          },
   284          "MediaType": "",
   285          "BodyParts": [
   286            ""
   287          ]
   288        },
   289        "Response": {
   290          "StatusCode": 200,
   291          "Proto": "HTTP/1.1",
   292          "ProtoMajor": 1,
   293          "ProtoMinor": 1,
   294          "Header": {
   295            "Accept-Ranges": [
   296              "bytes"
   297            ],
   298            "Cache-Control": [
   299              "no-cache"
   300            ],
   301            "Content-Disposition": [
   302              "inline"
   303            ],
   304            "Content-Encoding": [
   305              "identity"
   306            ],
   307            "Content-Language": [
   308              "en"
   309            ],
   310            "Content-Length": [
   311              "12"
   312            ],
   313            "Content-Md5": [
   314              "7Qdih1MuhjZehB6Sv8UNjA=="
   315            ],
   316            "Content-Type": [
   317              "text/plain"
   318            ],
   319            "Date": [
   320              "Fri, 09 Aug 2019 16:15:19 GMT"
   321            ],
   322            "Etag": [
   323              "\"0x8D71CE4C62A9C08\""
   324            ],
   325            "Last-Modified": [
   326              "Fri, 09 Aug 2019 16:15:19 GMT"
   327            ],
   328            "Server": [
   329              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   330            ],
   331            "X-Ms-Blob-Type": [
   332              "BlockBlob"
   333            ],
   334            "X-Ms-Creation-Time": [
   335              "Fri, 09 Aug 2019 16:15:19 GMT"
   336            ],
   337            "X-Ms-Lease-State": [
   338              "available"
   339            ],
   340            "X-Ms-Lease-Status": [
   341              "unlocked"
   342            ],
   343            "X-Ms-Request-Id": [
   344              "3ced10ee-701e-0038-71cd-4e158d000000"
   345            ],
   346            "X-Ms-Server-Encrypted": [
   347              "true"
   348            ],
   349            "X-Ms-Tag-Count": [
   350              "0"
   351            ],
   352            "X-Ms-Version": [
   353              "2018-11-09"
   354            ]
   355          },
   356          "Body": "SGVsbG8gV29ybGQh"
   357        }
   358      },
   359      {
   360        "ID": "4ab0e08c0ecb9b8a",
   361        "Request": {
   362          "Method": "PUT",
   363          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-attributes",
   364          "Header": {
   365            "Accept-Encoding": [
   366              "gzip"
   367            ],
   368            "Content-Length": [
   369              "12"
   370            ],
   371            "User-Agent": [
   372              "CLEARED"
   373            ],
   374            "X-Ms-Blob-Cache-Control": [
   375              ""
   376            ],
   377            "X-Ms-Blob-Content-Disposition": [
   378              ""
   379            ],
   380            "X-Ms-Blob-Content-Encoding": [
   381              ""
   382            ],
   383            "X-Ms-Blob-Content-Language": [
   384              ""
   385            ],
   386            "X-Ms-Blob-Content-Md5": [
   387              "7Qdih1MuhjZehB6Sv8UNjA=="
   388            ],
   389            "X-Ms-Blob-Content-Type": [
   390              "text/plain; charset=utf-8"
   391            ],
   392            "X-Ms-Blob-Type": [
   393              "BlockBlob"
   394            ],
   395            "X-Ms-Date": [
   396              "CLEARED"
   397            ],
   398            "X-Ms-Version": [
   399              "2018-11-09"
   400            ]
   401          },
   402          "MediaType": "text/plain",
   403          "BodyParts": [
   404            "SGVsbG8gV29ybGQh"
   405          ]
   406        },
   407        "Response": {
   408          "StatusCode": 201,
   409          "Proto": "HTTP/1.1",
   410          "ProtoMajor": 1,
   411          "ProtoMinor": 1,
   412          "Header": {
   413            "Content-Length": [
   414              "0"
   415            ],
   416            "Content-Md5": [
   417              "7Qdih1MuhjZehB6Sv8UNjA=="
   418            ],
   419            "Date": [
   420              "Fri, 09 Aug 2019 16:15:19 GMT"
   421            ],
   422            "Etag": [
   423              "\"0x8D71CE4C635E8AC\""
   424            ],
   425            "Last-Modified": [
   426              "Fri, 09 Aug 2019 16:15:19 GMT"
   427            ],
   428            "Server": [
   429              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   430            ],
   431            "X-Ms-Request-Id": [
   432              "3ced1100-701e-0038-02cd-4e158d000000"
   433            ],
   434            "X-Ms-Request-Server-Encrypted": [
   435              "true"
   436            ],
   437            "X-Ms-Version": [
   438              "2018-11-09"
   439            ]
   440          },
   441          "Body": ""
   442        }
   443      },
   444      {
   445        "ID": "8a8fb7aa852dc3f9",
   446        "Request": {
   447          "Method": "HEAD",
   448          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-attributes",
   449          "Header": {
   450            "User-Agent": [
   451              "CLEARED"
   452            ],
   453            "X-Ms-Date": [
   454              "CLEARED"
   455            ],
   456            "X-Ms-Version": [
   457              "2018-11-09"
   458            ]
   459          },
   460          "MediaType": "",
   461          "BodyParts": [
   462            ""
   463          ]
   464        },
   465        "Response": {
   466          "StatusCode": 200,
   467          "Proto": "HTTP/1.1",
   468          "ProtoMajor": 1,
   469          "ProtoMinor": 1,
   470          "Header": {
   471            "Accept-Ranges": [
   472              "bytes"
   473            ],
   474            "Content-Disposition": [
   475              ""
   476            ],
   477            "Content-Length": [
   478              "12"
   479            ],
   480            "Content-Md5": [
   481              "7Qdih1MuhjZehB6Sv8UNjA=="
   482            ],
   483            "Content-Type": [
   484              "text/plain; charset=utf-8"
   485            ],
   486            "Date": [
   487              "Fri, 09 Aug 2019 16:15:19 GMT"
   488            ],
   489            "Etag": [
   490              "\"0x8D71CE4C635E8AC\""
   491            ],
   492            "Last-Modified": [
   493              "Fri, 09 Aug 2019 16:15:19 GMT"
   494            ],
   495            "Server": [
   496              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   497            ],
   498            "X-Ms-Access-Tier": [
   499              "Hot"
   500            ],
   501            "X-Ms-Access-Tier-Inferred": [
   502              "true"
   503            ],
   504            "X-Ms-Blob-Type": [
   505              "BlockBlob"
   506            ],
   507            "X-Ms-Creation-Time": [
   508              "Fri, 09 Aug 2019 16:15:19 GMT"
   509            ],
   510            "X-Ms-Lease-State": [
   511              "available"
   512            ],
   513            "X-Ms-Lease-Status": [
   514              "unlocked"
   515            ],
   516            "X-Ms-Request-Id": [
   517              "3ced111b-701e-0038-1acd-4e158d000000"
   518            ],
   519            "X-Ms-Server-Encrypted": [
   520              "true"
   521            ],
   522            "X-Ms-Tag-Count": [
   523              "0"
   524            ],
   525            "X-Ms-Version": [
   526              "2018-11-09"
   527            ]
   528          },
   529          "Body": ""
   530        }
   531      },
   532      {
   533        "ID": "640ce229fc431491",
   534        "Request": {
   535          "Method": "DELETE",
   536          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-attributes",
   537          "Header": {
   538            "Accept-Encoding": [
   539              "gzip"
   540            ],
   541            "User-Agent": [
   542              "CLEARED"
   543            ],
   544            "X-Ms-Date": [
   545              "CLEARED"
   546            ],
   547            "X-Ms-Delete-Snapshots": [
   548              "include"
   549            ],
   550            "X-Ms-Version": [
   551              "2018-11-09"
   552            ]
   553          },
   554          "MediaType": "",
   555          "BodyParts": [
   556            ""
   557          ]
   558        },
   559        "Response": {
   560          "StatusCode": 202,
   561          "Proto": "HTTP/1.1",
   562          "ProtoMajor": 1,
   563          "ProtoMinor": 1,
   564          "Header": {
   565            "Content-Length": [
   566              "0"
   567            ],
   568            "Date": [
   569              "Fri, 09 Aug 2019 16:15:19 GMT"
   570            ],
   571            "Server": [
   572              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   573            ],
   574            "X-Ms-Delete-Type-Permanent": [
   575              "true"
   576            ],
   577            "X-Ms-Request-Id": [
   578              "3ced1122-701e-0038-21cd-4e158d000000"
   579            ],
   580            "X-Ms-Version": [
   581              "2018-11-09"
   582            ]
   583          },
   584          "Body": ""
   585        }
   586      }
   587    ]
   588  }