...

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

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

     1---
     2version: 1
     3interactions:
     4- request:
     5    body: ""
     6    form: {}
     7    headers:
     8      Authorization:
     9      - SharedKey golangrocksonazure:lg/Ajw6ZfeW70GU49uAlDk8cvgVX8ePx97spOP0N0CA=
    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:49 GMT
    15      x-ms-version:
    16      - "2018-03-28"
    17    url: https://golangrocksonazure.blob.core.windows.net/54leaseblobsuitetestreleaselease?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:47 GMT
    26      Etag:
    27      - '"0x8D8FE94E2E9D0A0"'
    28      Last-Modified:
    29      - Tue, 13 Apr 2021 15:57:48 GMT
    30      Server:
    31      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
    32      X-Ms-Request-Id:
    33      - 2c9dcd69-801e-004c-6a7d-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:7Z5p32qRpoJdZtBaKjQ9UeDkdyhQgX7/hMM3pbuPVWI=
    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:49 GMT
    54      x-ms-version:
    55      - "2018-03-28"
    56    url: https://golangrocksonazure.blob.core.windows.net/54leaseblobsuitetestreleaselease/blob/54leaseblobsuitetestreleaseleasenotsuccessfulbadleaseid
    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:48 GMT
    67      Etag:
    68      - '"0x8D8FE94E2FB184F"'
    69      Last-Modified:
    70      - Tue, 13 Apr 2021 15:57:48 GMT
    71      Server:
    72      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
    73      X-Ms-Request-Id:
    74      - 2c9dcd85-801e-004c-017d-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:kYs85QqP9neGL/XTDC4bQXW+3uLfW7NILHQRY4crYCs=
    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:49 GMT
    93      x-ms-lease-action:
    94      - acquire
    95      x-ms-lease-duration:
    96      - "30"
    97      x-ms-proposed-lease-id:
    98      - dfe6dde8-68d5-4910-9248-c97c61768fea
    99      x-ms-version:
   100      - "2018-03-28"
   101    url: https://golangrocksonazure.blob.core.windows.net/54leaseblobsuitetestreleaselease/blob/54leaseblobsuitetestreleaseleasenotsuccessfulbadleaseid?comp=lease
   102    method: PUT
   103  response:
   104    body: ""
   105    headers:
   106      Content-Length:
   107      - "0"
   108      Date:
   109      - Tue, 13 Apr 2021 15:57:48 GMT
   110      Etag:
   111      - '"0x8D8FE94E2FB184F"'
   112      Last-Modified:
   113      - Tue, 13 Apr 2021 15:57:48 GMT
   114      Server:
   115      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   116      X-Ms-Lease-Id:
   117      - dfe6dde8-68d5-4910-9248-c97c61768fea
   118      X-Ms-Request-Id:
   119      - 2c9dcdb1-801e-004c-237d-300fdd000000
   120      X-Ms-Version:
   121      - "2018-03-28"
   122    status: 201 Created
   123    code: 201
   124    duration: ""
   125- request:
   126    body: ""
   127    form: {}
   128    headers:
   129      Authorization:
   130      - SharedKey golangrocksonazure:QaaGxx6kh4P/yTUwnzmz2mZeUOEPoDZ4n4NpCplMH7Y=
   131      User-Agent:
   132      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   133        blob
   134      x-ms-date:
   135      - Tue, 13 Apr 2021 15:57:49 GMT
   136      x-ms-lease-action:
   137      - release
   138      x-ms-lease-id:
   139      - badleaseid
   140      x-ms-version:
   141      - "2018-03-28"
   142    url: https://golangrocksonazure.blob.core.windows.net/54leaseblobsuitetestreleaselease/blob/54leaseblobsuitetestreleaseleasenotsuccessfulbadleaseid?comp=lease
   143    method: PUT
   144  response:
   145    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\x49\x6E\x76\x61\x6C\x69\x64\x48\x65\x61\x64\x65\x72\x56\x61\x6C\x75\x65\x3C\x2F\x43\x6F\x64\x65\x3E\x3C\x4D\x65\x73\x73\x61\x67\x65\x3E\x54\x68\x65\x20\x76\x61\x6C\x75\x65\x20\x66\x6F\x72\x20\x6F\x6E\x65\x20\x6F\x66\x20\x74\x68\x65\x20\x48\x54\x54\x50\x20\x68\x65\x61\x64\x65\x72\x73\x20\x69\x73\x20\x6E\x6F\x74\x20\x69\x6E\x20\x74\x68\x65\x20\x63\x6F\x72\x72\x65\x63\x74\x20\x66\x6F\x72\x6D\x61\x74\x2E\n\x52\x65\x71\x75\x65\x73\x74\x49\x64\x3A\x32\x63\x39\x64\x63\x64\x63\x33\x2D\x38\x30\x31\x65\x2D\x30\x30\x34\x63\x2D\x33\x33\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\x34\x39\x2E\x30\x34\x36\x35\x35\x35\x31\x5A\x3C\x2F\x4D\x65\x73\x73\x61\x67\x65\x3E\x3C\x48\x65\x61\x64\x65\x72\x4E\x61\x6D\x65\x3E\x78\x2D\x6D\x73\x2D\x6C\x65\x61\x73\x65\x2D\x69\x64\x3C\x2F\x48\x65\x61\x64\x65\x72\x4E\x61\x6D\x65\x3E\x3C\x48\x65\x61\x64\x65\x72\x56\x61\x6C\x75\x65\x3E\x62\x61\x64\x6C\x65\x61\x73\x65\x69\x64\x3C\x2F\x48\x65\x61\x64\x65\x72\x56\x61\x6C\x75\x65\x3E\x3C\x2F\x45\x72\x72\x6F\x72\x3E"
   146    headers:
   147      Content-Length:
   148      - "329"
   149      Content-Type:
   150      - application/xml
   151      Date:
   152      - Tue, 13 Apr 2021 15:57:48 GMT
   153      Server:
   154      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   155      X-Ms-Error-Code:
   156      - InvalidHeaderValue
   157      X-Ms-Request-Id:
   158      - 2c9dcdc3-801e-004c-337d-300fdd000000
   159      X-Ms-Version:
   160      - "2018-03-28"
   161    status: 400 The value for one of the HTTP headers is not in the correct format.
   162    code: 400
   163    duration: ""
   164- request:
   165    body: ""
   166    form: {}
   167    headers:
   168      Authorization:
   169      - SharedKey golangrocksonazure:N0Xm3LI5Dpa1dmgYzG64ARYdIkBNpMmo5drhBDmgcX0=
   170      User-Agent:
   171      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   172        blob
   173      x-ms-date:
   174      - Tue, 13 Apr 2021 15:57:49 GMT
   175      x-ms-version:
   176      - "2018-03-28"
   177    url: https://golangrocksonazure.blob.core.windows.net/54leaseblobsuitetestreleaselease?restype=container
   178    method: DELETE
   179  response:
   180    body: ""
   181    headers:
   182      Content-Length:
   183      - "0"
   184      Date:
   185      - Tue, 13 Apr 2021 15:57:48 GMT
   186      Server:
   187      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   188      X-Ms-Request-Id:
   189      - 2c9dcddf-801e-004c-4b7d-300fdd000000
   190      X-Ms-Version:
   191      - "2018-03-28"
   192    status: 202 Accepted
   193    code: 202
   194    duration: ""

View as plain text