...

Text file src/github.com/Azure/azure-sdk-for-go/storage/recordings/StorageBlobSuite/TestSetMetadataWithExtraHeaders.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:/ooRYwu7oAQEqp5HnulRV7og50P3dIRqNAFJMy7pJHM=
    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:11 GMT
    15      x-ms-version:
    16      - "2018-03-28"
    17    url: https://golangrocksonazure.blob.core.windows.net/48storageblobsuitetestsetmetadat?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:09 GMT
    26      Etag:
    27      - '"0x8D8FE94CC4AC0EF"'
    28      Last-Modified:
    29      - Tue, 13 Apr 2021 15:57:10 GMT
    30      Server:
    31      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
    32      X-Ms-Request-Id:
    33      - 2c9d791b-801e-004c-477d-300fdd000000
    34      X-Ms-Version:
    35      - "2018-03-28"
    36    status: 201 Created
    37    code: 201
    38    duration: ""
    39- request:
    40    body: Hello!
    41    form: {}
    42    headers:
    43      Authorization:
    44      - SharedKey golangrocksonazure:IUR4rCP+YmGcBG+nxiXfMlXFMuGEZt4HxZ385j195aU=
    45      Content-Length:
    46      - "6"
    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:11 GMT
    54      x-ms-version:
    55      - "2018-03-28"
    56    url: https://golangrocksonazure.blob.core.windows.net/48storageblobsuitetestsetmetadat/blob/48storageblobsuitetestsetmetadatawithextraheaders
    57    method: PUT
    58  response:
    59    body: ""
    60    headers:
    61      Content-Length:
    62      - "0"
    63      Content-Md5:
    64      - lS0sVtBIWVgzZ0e83ZhZDQ==
    65      Date:
    66      - Tue, 13 Apr 2021 15:57:10 GMT
    67      Etag:
    68      - '"0x8D8FE94CC5776DD"'
    69      Last-Modified:
    70      - Tue, 13 Apr 2021 15:57:10 GMT
    71      Server:
    72      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
    73      X-Ms-Request-Id:
    74      - 2c9d7923-801e-004c-4c7d-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:OBGeiKMRIsPbQOM7cQWs/cxcduEgB53X2udpb987Z08=
    88      If-Match:
    89      - incorrect-etag
    90      User-Agent:
    91      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    92        blob
    93      x-ms-date:
    94      - Tue, 13 Apr 2021 15:57:11 GMT
    95      x-ms-meta-lol:
    96      - rofl
    97      x-ms-meta-rofl_baz:
    98      - waz qux
    99      x-ms-version:
   100      - "2018-03-28"
   101    url: https://golangrocksonazure.blob.core.windows.net/48storageblobsuitetestsetmetadat/blob/48storageblobsuitetestsetmetadatawithextraheaders?comp=metadata
   102    method: PUT
   103  response:
   104    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\x39\x34\x32\x2D\x38\x30\x31\x65\x2D\x30\x30\x34\x63\x2D\x36\x62\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\x31\x31\x2E\x30\x30\x30\x31\x39\x30\x38\x5A\x3C\x2F\x4D\x65\x73\x73\x61\x67\x65\x3E\x3C\x2F\x45\x72\x72\x6F\x72\x3E"
   105    headers:
   106      Content-Length:
   107      - "252"
   108      Content-Type:
   109      - application/xml
   110      Date:
   111      - Tue, 13 Apr 2021 15:57:10 GMT
   112      Server:
   113      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   114      X-Ms-Error-Code:
   115      - ConditionNotMet
   116      X-Ms-Request-Id:
   117      - 2c9d7942-801e-004c-6b7d-300fdd000000
   118      X-Ms-Version:
   119      - "2018-03-28"
   120    status: 412 The condition specified using HTTP conditional header(s) is not met.
   121    code: 412
   122    duration: ""
   123- request:
   124    body: ""
   125    form: {}
   126    headers:
   127      Authorization:
   128      - SharedKey golangrocksonazure:sleJF8OpvLNxZVZqsgPKoAld+B/PFbi4x21T43+U6nk=
   129      User-Agent:
   130      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   131        blob
   132      x-ms-date:
   133      - Tue, 13 Apr 2021 15:57:11 GMT
   134      x-ms-version:
   135      - "2018-03-28"
   136    url: https://golangrocksonazure.blob.core.windows.net/48storageblobsuitetestsetmetadat/blob/48storageblobsuitetestsetmetadatawithextraheaders
   137    method: HEAD
   138  response:
   139    body: ""
   140    headers:
   141      Accept-Ranges:
   142      - bytes
   143      Content-Length:
   144      - "6"
   145      Content-Md5:
   146      - lS0sVtBIWVgzZ0e83ZhZDQ==
   147      Content-Type:
   148      - application/octet-stream
   149      Date:
   150      - Tue, 13 Apr 2021 15:57:10 GMT
   151      Etag:
   152      - '"0x8D8FE94CC5776DD"'
   153      Last-Modified:
   154      - Tue, 13 Apr 2021 15:57:10 GMT
   155      Server:
   156      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   157      X-Ms-Access-Tier:
   158      - Cool
   159      X-Ms-Access-Tier-Inferred:
   160      - "true"
   161      X-Ms-Blob-Type:
   162      - BlockBlob
   163      X-Ms-Creation-Time:
   164      - Tue, 13 Apr 2021 15:57:10 GMT
   165      X-Ms-Lease-State:
   166      - available
   167      X-Ms-Lease-Status:
   168      - unlocked
   169      X-Ms-Request-Id:
   170      - 2c9d7949-801e-004c-707d-300fdd000000
   171      X-Ms-Server-Encrypted:
   172      - "true"
   173      X-Ms-Version:
   174      - "2018-03-28"
   175    status: 200 OK
   176    code: 200
   177    duration: ""
   178- request:
   179    body: ""
   180    form: {}
   181    headers:
   182      Authorization:
   183      - SharedKey golangrocksonazure:boUuoJ2KC+ML8xs8EMx22qKowN3vpperFsX1T3GloaM=
   184      If-Match:
   185      - '"0x8D8FE94CC5776DD"'
   186      User-Agent:
   187      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   188        blob
   189      x-ms-date:
   190      - Tue, 13 Apr 2021 15:57:11 GMT
   191      x-ms-meta-lol:
   192      - rofl
   193      x-ms-meta-rofl_baz:
   194      - waz qux
   195      x-ms-version:
   196      - "2018-03-28"
   197    url: https://golangrocksonazure.blob.core.windows.net/48storageblobsuitetestsetmetadat/blob/48storageblobsuitetestsetmetadatawithextraheaders?comp=metadata
   198    method: PUT
   199  response:
   200    body: ""
   201    headers:
   202      Content-Length:
   203      - "0"
   204      Date:
   205      - Tue, 13 Apr 2021 15:57:10 GMT
   206      Etag:
   207      - '"0x8D8FE94CC602AFF"'
   208      Last-Modified:
   209      - Tue, 13 Apr 2021 15:57:11 GMT
   210      Server:
   211      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   212      X-Ms-Request-Id:
   213      - 2c9d7951-801e-004c-777d-300fdd000000
   214      X-Ms-Request-Server-Encrypted:
   215      - "true"
   216      X-Ms-Version:
   217      - "2018-03-28"
   218    status: 200 OK
   219    code: 200
   220    duration: ""
   221- request:
   222    body: ""
   223    form: {}
   224    headers:
   225      Authorization:
   226      - SharedKey golangrocksonazure:bYo/WqPmeNERCPMrEcswXhhJ1D1juYHC6yh0zSyVeoU=
   227      User-Agent:
   228      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   229        blob
   230      x-ms-date:
   231      - Tue, 13 Apr 2021 15:57:11 GMT
   232      x-ms-version:
   233      - "2018-03-28"
   234    url: https://golangrocksonazure.blob.core.windows.net/48storageblobsuitetestsetmetadat?restype=container
   235    method: DELETE
   236  response:
   237    body: ""
   238    headers:
   239      Content-Length:
   240      - "0"
   241      Date:
   242      - Tue, 13 Apr 2021 15:57:10 GMT
   243      Server:
   244      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   245      X-Ms-Request-Id:
   246      - 2c9d7955-801e-004c-7b7d-300fdd000000
   247      X-Ms-Version:
   248      - "2018-03-28"
   249    status: 202 Accepted
   250    code: 202
   251    duration: ""

View as plain text