...

Text file src/github.com/Azure/azure-sdk-for-go/storage/recordings/StorageBlobSuite/TestDeleteBlobWithConditions.yaml

Documentation: github.com/Azure/azure-sdk-for-go/storage/recordings/StorageBlobSuite

     1---
     2version: 1
     3interactions:
     4- request:
     5    body: ""
     6    form: {}
     7    headers:
     8      Authorization:
     9      - SharedKey golangrocksonazure:81m+3NQzERy5/oY2uxvVtx5GVU1ECHaPrNWmQ5ji1ww=
    10      User-Agent:
    11      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    12        blob
    13      x-ms-date:
    14      - Tue, 13 Apr 2021 15:57:09 GMT
    15      x-ms-version:
    16      - "2018-03-28"
    17    url: https://golangrocksonazure.blob.core.windows.net/45storageblobsuitetestdeleteblob?restype=container
    18    method: PUT
    19  response:
    20    body: ""
    21    headers:
    22      Content-Length:
    23      - "0"
    24      Date:
    25      - Tue, 13 Apr 2021 15:57:08 GMT
    26      Etag:
    27      - '"0x8D8FE94CB678BA5"'
    28      Last-Modified:
    29      - Tue, 13 Apr 2021 15:57:09 GMT
    30      Server:
    31      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
    32      X-Ms-Request-Id:
    33      - 2c9d76fc-801e-004c-797d-300fdd000000
    34      X-Ms-Version:
    35      - "2018-03-28"
    36    status: 201 Created
    37    code: 201
    38    duration: ""
    39- request:
    40    body: ""
    41    form: {}
    42    headers:
    43      Authorization:
    44      - SharedKey golangrocksonazure:/rxVz1t3WR/mKWaWPbwSs8gtYdbO0TCmZsN4LDwQkag=
    45      Content-Length:
    46      - "0"
    47      User-Agent:
    48      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    49        blob
    50      x-ms-blob-type:
    51      - BlockBlob
    52      x-ms-date:
    53      - Tue, 13 Apr 2021 15:57:09 GMT
    54      x-ms-version:
    55      - "2018-03-28"
    56    url: https://golangrocksonazure.blob.core.windows.net/45storageblobsuitetestdeleteblob/blob/45storageblobsuitetestdeleteblobwithconditions
    57    method: PUT
    58  response:
    59    body: ""
    60    headers:
    61      Content-Length:
    62      - "0"
    63      Content-Md5:
    64      - 1B2M2Y8AsgTpgAmY7PhCfg==
    65      Date:
    66      - Tue, 13 Apr 2021 15:57:08 GMT
    67      Etag:
    68      - '"0x8D8FE94CB6AC87F"'
    69      Last-Modified:
    70      - Tue, 13 Apr 2021 15:57:09 GMT
    71      Server:
    72      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
    73      X-Ms-Request-Id:
    74      - 2c9d7701-801e-004c-7d7d-300fdd000000
    75      X-Ms-Request-Server-Encrypted:
    76      - "true"
    77      X-Ms-Version:
    78      - "2018-03-28"
    79    status: 201 Created
    80    code: 201
    81    duration: ""
    82- request:
    83    body: ""
    84    form: {}
    85    headers:
    86      Authorization:
    87      - SharedKey golangrocksonazure:TClLbX/4zc0nz4AJRcqY42mUciGP5yPkrIeYNSs3oH4=
    88      User-Agent:
    89      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    90        blob
    91      x-ms-date:
    92      - Tue, 13 Apr 2021 15:57:09 GMT
    93      x-ms-version:
    94      - "2018-03-28"
    95    url: https://golangrocksonazure.blob.core.windows.net/45storageblobsuitetestdeleteblob/blob/45storageblobsuitetestdeleteblobwithconditions
    96    method: HEAD
    97  response:
    98    body: ""
    99    headers:
   100      Accept-Ranges:
   101      - bytes
   102      Content-Length:
   103      - "0"
   104      Content-Md5:
   105      - 1B2M2Y8AsgTpgAmY7PhCfg==
   106      Content-Type:
   107      - application/octet-stream
   108      Date:
   109      - Tue, 13 Apr 2021 15:57:08 GMT
   110      Etag:
   111      - '"0x8D8FE94CB6AC87F"'
   112      Last-Modified:
   113      - Tue, 13 Apr 2021 15:57:09 GMT
   114      Server:
   115      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   116      X-Ms-Access-Tier:
   117      - Cool
   118      X-Ms-Access-Tier-Inferred:
   119      - "true"
   120      X-Ms-Blob-Type:
   121      - BlockBlob
   122      X-Ms-Creation-Time:
   123      - Tue, 13 Apr 2021 15:57:09 GMT
   124      X-Ms-Lease-State:
   125      - available
   126      X-Ms-Lease-Status:
   127      - unlocked
   128      X-Ms-Request-Id:
   129      - 2c9d7703-801e-004c-7f7d-300fdd000000
   130      X-Ms-Server-Encrypted:
   131      - "true"
   132      X-Ms-Version:
   133      - "2018-03-28"
   134    status: 200 OK
   135    code: 200
   136    duration: ""
   137- request:
   138    body: ""
   139    form: {}
   140    headers:
   141      Authorization:
   142      - SharedKey golangrocksonazure:SCmbxOcpQZoPJNpfsB1ndsTovFSNKj5Jbw1D/W1GARc=
   143      If-Match:
   144      - GolangRocksOnAzure
   145      User-Agent:
   146      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   147        blob
   148      x-ms-date:
   149      - Tue, 13 Apr 2021 15:57:09 GMT
   150      x-ms-version:
   151      - "2018-03-28"
   152    url: https://golangrocksonazure.blob.core.windows.net/45storageblobsuitetestdeleteblob/blob/45storageblobsuitetestdeleteblobwithconditions
   153    method: DELETE
   154  response:
   155    body: "\uFEFF\x3C\x3F\x78\x6D\x6C\x20\x76\x65\x72\x73\x69\x6F\x6E\x3D\"\x31\x2E\x30\"\x20\x65\x6E\x63\x6F\x64\x69\x6E\x67\x3D\"\x75\x74\x66\x2D\x38\"\x3F\x3E\x3C\x45\x72\x72\x6F\x72\x3E\x3C\x43\x6F\x64\x65\x3E\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x4E\x6F\x74\x4D\x65\x74\x3C\x2F\x43\x6F\x64\x65\x3E\x3C\x4D\x65\x73\x73\x61\x67\x65\x3E\x54\x68\x65\x20\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x75\x73\x69\x6E\x67\x20\x48\x54\x54\x50\x20\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x61\x6C\x20\x68\x65\x61\x64\x65\x72\x28\x73\x29\x20\x69\x73\x20\x6E\x6F\x74\x20\x6D\x65\x74\x2E\n\x52\x65\x71\x75\x65\x73\x74\x49\x64\x3A\x32\x63\x39\x64\x37\x37\x30\x39\x2D\x38\x30\x31\x65\x2D\x30\x30\x34\x63\x2D\x30\x35\x37\x64\x2D\x33\x30\x30\x66\x64\x64\x30\x30\x30\x30\x30\x30\n\x54\x69\x6D\x65\x3A\x32\x30\x32\x31\x2D\x30\x34\x2D\x31\x33\x54\x31\x35\x3A\x35\x37\x3A\x30\x39\x2E\x34\x37\x35\x31\x33\x35\x33\x5A\x3C\x2F\x4D\x65\x73\x73\x61\x67\x65\x3E\x3C\x2F\x45\x72\x72\x6F\x72\x3E"
   156    headers:
   157      Content-Length:
   158      - "252"
   159      Content-Type:
   160      - application/xml
   161      Date:
   162      - Tue, 13 Apr 2021 15:57:08 GMT
   163      Server:
   164      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   165      X-Ms-Error-Code:
   166      - ConditionNotMet
   167      X-Ms-Request-Id:
   168      - 2c9d7709-801e-004c-057d-300fdd000000
   169      X-Ms-Version:
   170      - "2018-03-28"
   171    status: 412 The condition specified using HTTP conditional header(s) is not met.
   172    code: 412
   173    duration: ""
   174- request:
   175    body: ""
   176    form: {}
   177    headers:
   178      Authorization:
   179      - SharedKey golangrocksonazure:TClLbX/4zc0nz4AJRcqY42mUciGP5yPkrIeYNSs3oH4=
   180      User-Agent:
   181      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   182        blob
   183      x-ms-date:
   184      - Tue, 13 Apr 2021 15:57:09 GMT
   185      x-ms-version:
   186      - "2018-03-28"
   187    url: https://golangrocksonazure.blob.core.windows.net/45storageblobsuitetestdeleteblob/blob/45storageblobsuitetestdeleteblobwithconditions
   188    method: HEAD
   189  response:
   190    body: ""
   191    headers:
   192      Accept-Ranges:
   193      - bytes
   194      Content-Length:
   195      - "0"
   196      Content-Md5:
   197      - 1B2M2Y8AsgTpgAmY7PhCfg==
   198      Content-Type:
   199      - application/octet-stream
   200      Date:
   201      - Tue, 13 Apr 2021 15:57:08 GMT
   202      Etag:
   203      - '"0x8D8FE94CB6AC87F"'
   204      Last-Modified:
   205      - Tue, 13 Apr 2021 15:57:09 GMT
   206      Server:
   207      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   208      X-Ms-Access-Tier:
   209      - Cool
   210      X-Ms-Access-Tier-Inferred:
   211      - "true"
   212      X-Ms-Blob-Type:
   213      - BlockBlob
   214      X-Ms-Creation-Time:
   215      - Tue, 13 Apr 2021 15:57:09 GMT
   216      X-Ms-Lease-State:
   217      - available
   218      X-Ms-Lease-Status:
   219      - unlocked
   220      X-Ms-Request-Id:
   221      - 2c9d770e-801e-004c-0a7d-300fdd000000
   222      X-Ms-Server-Encrypted:
   223      - "true"
   224      X-Ms-Version:
   225      - "2018-03-28"
   226    status: 200 OK
   227    code: 200
   228    duration: ""
   229- request:
   230    body: ""
   231    form: {}
   232    headers:
   233      Authorization:
   234      - SharedKey golangrocksonazure:VVcWu3IPkuIUcmxc7Wb4w9YDzrZtoq0qVm+p5hLcBig=
   235      If-Match:
   236      - '"0x8D8FE94CB6AC87F"'
   237      User-Agent:
   238      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   239        blob
   240      x-ms-date:
   241      - Tue, 13 Apr 2021 15:57:09 GMT
   242      x-ms-version:
   243      - "2018-03-28"
   244    url: https://golangrocksonazure.blob.core.windows.net/45storageblobsuitetestdeleteblob/blob/45storageblobsuitetestdeleteblobwithconditions
   245    method: DELETE
   246  response:
   247    body: ""
   248    headers:
   249      Content-Length:
   250      - "0"
   251      Date:
   252      - Tue, 13 Apr 2021 15:57:08 GMT
   253      Server:
   254      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   255      X-Ms-Delete-Type-Permanent:
   256      - "false"
   257      X-Ms-Request-Id:
   258      - 2c9d7715-801e-004c-117d-300fdd000000
   259      X-Ms-Version:
   260      - "2018-03-28"
   261    status: 202 Accepted
   262    code: 202
   263    duration: ""
   264- request:
   265    body: ""
   266    form: {}
   267    headers:
   268      Authorization:
   269      - SharedKey golangrocksonazure:PMLxNLrndm8tU9pVKUwFM8UYi8h71R53TBgFW6VqnFo=
   270      User-Agent:
   271      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   272        blob
   273      x-ms-date:
   274      - Tue, 13 Apr 2021 15:57:09 GMT
   275      x-ms-version:
   276      - "2018-03-28"
   277    url: https://golangrocksonazure.blob.core.windows.net/45storageblobsuitetestdeleteblob?restype=container
   278    method: DELETE
   279  response:
   280    body: ""
   281    headers:
   282      Content-Length:
   283      - "0"
   284      Date:
   285      - Tue, 13 Apr 2021 15:57:08 GMT
   286      Server:
   287      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   288      X-Ms-Request-Id:
   289      - 2c9d771e-801e-004c-1a7d-300fdd000000
   290      X-Ms-Version:
   291      - "2018-03-28"
   292    status: 202 Accepted
   293    code: 202
   294    duration: ""

View as plain text