...

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

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

     1---
     2version: 1
     3interactions:
     4- request:
     5    body: ""
     6    form: {}
     7    headers:
     8      Authorization:
     9      - SharedKey golangrocksonazure:NR5Dko4Vl0Ro3lONuJMmGKavtL2kSccX5ATIePOieYs=
    10      User-Agent:
    11      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    12        file
    13      x-ms-date:
    14      - Thu, 15 Apr 2021 14:39:42 GMT
    15      x-ms-version:
    16      - "2018-03-28"
    17    url: https://golangrocksonazure.file.core.windows.net/share-28storagefilesuitetestgetfile?restype=share
    18    method: PUT
    19  response:
    20    body: ""
    21    headers:
    22      Content-Length:
    23      - "0"
    24      Date:
    25      - Thu, 15 Apr 2021 14:39:42 GMT
    26      Etag:
    27      - '"0x8D9001C4E9EF430"'
    28      Last-Modified:
    29      - Thu, 15 Apr 2021 14:39:42 GMT
    30      Server:
    31      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
    32      X-Ms-Request-Id:
    33      - c0ab3919-301a-0049-3505-32dd06000000
    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:DzAAEsZXK4ozEAXQ4G2rAncZnNEFyR2Rfphq6ZAe9x8=
    45      User-Agent:
    46      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    47        file
    48      x-ms-content-length:
    49      - "1024"
    50      x-ms-date:
    51      - Thu, 15 Apr 2021 14:39:42 GMT
    52      x-ms-type:
    53      - file
    54      x-ms-version:
    55      - "2018-03-28"
    56    url: https://golangrocksonazure.file.core.windows.net/share-28storagefilesuitetestgetfile/some.file
    57    method: PUT
    58  response:
    59    body: ""
    60    headers:
    61      Content-Length:
    62      - "0"
    63      Date:
    64      - Thu, 15 Apr 2021 14:39:42 GMT
    65      Etag:
    66      - '"0x8D9001C4EA32DFE"'
    67      Last-Modified:
    68      - Thu, 15 Apr 2021 14:39:42 GMT
    69      Server:
    70      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
    71      X-Ms-Request-Id:
    72      - c0ab391b-301a-0049-3605-32dd06000000
    73      X-Ms-Request-Server-Encrypted:
    74      - "true"
    75      X-Ms-Version:
    76      - "2018-03-28"
    77    status: 201 Created
    78    code: 201
    79    duration: ""
    80- request:
    81    body: !!binary |
    82      //////////////////////////////////////////////////////////////////////
    83      //////////////////////////////////////////////////////////////////////
    84      //////////////////////////////////////////////////////////////////////
    85      //////////////////////////////////////////////////////////////////////
    86      //////////////////////////////////////////////////////////////////////
    87      //////////////////////////////////////////////////////////////////////
    88      //////////////////////////////////////////////////////////////////////
    89      //////////////////////////////////////////////////////////////////////
    90      //////////////////////////////////////////////////////////////////////
    91      //////////////////////////////////////////////////////////////////////
    92      //////////////////////////////////////////////////////////////////////
    93      //////////////////////////////////////////////////////////////////////
    94      //////////////////////////////////////////////////////////////////////
    95      //////////////////////////////////////////////////////////////////////
    96      //////////////////////////////////////////////////////////////////////
    97      //////////////////////////////////////////////////////////////////////
    98      //////////////////////////////////////////////////////////////////////
    99      //////////////////////////////////////////////////////////////////////
   100      //////////////////////////////////////////////////////////////////////
   101      ///////////////////////////////////w==
   102    form: {}
   103    headers:
   104      Authorization:
   105      - SharedKey golangrocksonazure:qvOcRBvUZ3xT5bRzpdyXIMP6KY3IpeUUJpNtK0lCDsU=
   106      Content-Length:
   107      - "1024"
   108      Range:
   109      - bytes=0-1023
   110      User-Agent:
   111      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   112        file
   113      x-ms-date:
   114      - Thu, 15 Apr 2021 14:39:42 GMT
   115      x-ms-version:
   116      - "2018-03-28"
   117      x-ms-write:
   118      - update
   119    url: https://golangrocksonazure.file.core.windows.net/share-28storagefilesuitetestgetfile/some.file?comp=range
   120    method: PUT
   121  response:
   122    body: ""
   123    headers:
   124      Content-Length:
   125      - "0"
   126      Content-Md5:
   127      - mokYsRh42lBvdhvBycTOFw==
   128      Date:
   129      - Thu, 15 Apr 2021 14:39:42 GMT
   130      Etag:
   131      - '"0x8D9001C4EB11333"'
   132      Last-Modified:
   133      - Thu, 15 Apr 2021 14:39:42 GMT
   134      Server:
   135      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   136      X-Ms-Request-Id:
   137      - c0ab391c-301a-0049-3705-32dd06000000
   138      X-Ms-Request-Server-Encrypted:
   139      - "true"
   140      X-Ms-Version:
   141      - "2018-03-28"
   142    status: 201 Created
   143    code: 201
   144    duration: ""
   145- request:
   146    body: ""
   147    form: {}
   148    headers:
   149      Authorization:
   150      - SharedKey golangrocksonazure:jPh3ZUfYl8ogZCz4KIt1CdAI04CzC3MCv9z7CLDXfCE=
   151      User-Agent:
   152      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   153        file
   154      x-ms-date:
   155      - Thu, 15 Apr 2021 14:39:42 GMT
   156      x-ms-meta-another:
   157      - anothervalue
   158      x-ms-meta-something:
   159      - somethingvalue
   160      x-ms-version:
   161      - "2018-03-28"
   162    url: https://golangrocksonazure.file.core.windows.net/share-28storagefilesuitetestgetfile/some.file?comp=metadata
   163    method: PUT
   164  response:
   165    body: ""
   166    headers:
   167      Content-Length:
   168      - "0"
   169      Date:
   170      - Thu, 15 Apr 2021 14:39:42 GMT
   171      Etag:
   172      - '"0x8D9001C4EB44819"'
   173      Last-Modified:
   174      - Thu, 15 Apr 2021 14:39:42 GMT
   175      Server:
   176      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   177      X-Ms-Request-Id:
   178      - c0ab391d-301a-0049-3805-32dd06000000
   179      X-Ms-Request-Server-Encrypted:
   180      - "true"
   181      X-Ms-Version:
   182      - "2018-03-28"
   183    status: 200 OK
   184    code: 200
   185    duration: ""
   186- request:
   187    body: ""
   188    form: {}
   189    headers:
   190      Authorization:
   191      - SharedKey golangrocksonazure:AKD1ONjf/8Tqw+dJ8zMwBuuyvf27oD5+EcOrfKJZwXg=
   192      Range:
   193      - bytes=0-1023
   194      User-Agent:
   195      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   196        file
   197      x-ms-date:
   198      - Thu, 15 Apr 2021 14:39:42 GMT
   199      x-ms-version:
   200      - "2018-03-28"
   201    url: https://golangrocksonazure.file.core.windows.net/share-28storagefilesuitetestgetfile/some.file
   202    method: GET
   203  response:
   204    body: !!binary |
   205      //////////////////////////////////////////////////////////////////////
   206      //////////////////////////////////////////////////////////////////////
   207      //////////////////////////////////////////////////////////////////////
   208      //////////////////////////////////////////////////////////////////////
   209      //////////////////////////////////////////////////////////////////////
   210      //////////////////////////////////////////////////////////////////////
   211      //////////////////////////////////////////////////////////////////////
   212      //////////////////////////////////////////////////////////////////////
   213      //////////////////////////////////////////////////////////////////////
   214      //////////////////////////////////////////////////////////////////////
   215      //////////////////////////////////////////////////////////////////////
   216      //////////////////////////////////////////////////////////////////////
   217      //////////////////////////////////////////////////////////////////////
   218      //////////////////////////////////////////////////////////////////////
   219      //////////////////////////////////////////////////////////////////////
   220      //////////////////////////////////////////////////////////////////////
   221      //////////////////////////////////////////////////////////////////////
   222      //////////////////////////////////////////////////////////////////////
   223      //////////////////////////////////////////////////////////////////////
   224      ///////////////////////////////////w==
   225    headers:
   226      Accept-Ranges:
   227      - bytes
   228      Content-Length:
   229      - "1024"
   230      Content-Range:
   231      - bytes 0-1023/1024
   232      Content-Type:
   233      - application/octet-stream
   234      Date:
   235      - Thu, 15 Apr 2021 14:39:42 GMT
   236      Etag:
   237      - '"0x8D9001C4EB44819"'
   238      Last-Modified:
   239      - Thu, 15 Apr 2021 14:39:42 GMT
   240      Server:
   241      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   242      X-Ms-Meta-Another:
   243      - anothervalue
   244      X-Ms-Meta-Something:
   245      - somethingvalue
   246      X-Ms-Request-Id:
   247      - c0ab391e-301a-0049-3905-32dd06000000
   248      X-Ms-Server-Encrypted:
   249      - "true"
   250      X-Ms-Type:
   251      - File
   252      X-Ms-Version:
   253      - "2018-03-28"
   254    status: 206 Partial Content
   255    code: 206
   256    duration: ""
   257- request:
   258    body: ""
   259    form: {}
   260    headers:
   261      Authorization:
   262      - SharedKey golangrocksonazure:hsmyjv3Y28OEBgCO/FPE/90xFn0zWPkmSogQz+OGMrs=
   263      Range:
   264      - bytes=512-1023
   265      User-Agent:
   266      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   267        file
   268      x-ms-date:
   269      - Thu, 15 Apr 2021 14:39:42 GMT
   270      x-ms-version:
   271      - "2018-03-28"
   272    url: https://golangrocksonazure.file.core.windows.net/share-28storagefilesuitetestgetfile/some.file
   273    method: GET
   274  response:
   275    body: !!binary |
   276      //////////////////////////////////////////////////////////////////////
   277      //////////////////////////////////////////////////////////////////////
   278      //////////////////////////////////////////////////////////////////////
   279      //////////////////////////////////////////////////////////////////////
   280      //////////////////////////////////////////////////////////////////////
   281      //////////////////////////////////////////////////////////////////////
   282      //////////////////////////////////////////////////////////////////////
   283      //////////////////////////////////////////////////////////////////////
   284      //////////////////////////////////////////////////////////////////////
   285      ////////////////////////////////////////////////////8=
   286    headers:
   287      Accept-Ranges:
   288      - bytes
   289      Content-Length:
   290      - "512"
   291      Content-Range:
   292      - bytes 512-1023/1024
   293      Content-Type:
   294      - application/octet-stream
   295      Date:
   296      - Thu, 15 Apr 2021 14:39:42 GMT
   297      Etag:
   298      - '"0x8D9001C4EB44819"'
   299      Last-Modified:
   300      - Thu, 15 Apr 2021 14:39:42 GMT
   301      Server:
   302      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   303      X-Ms-Meta-Another:
   304      - anothervalue
   305      X-Ms-Meta-Something:
   306      - somethingvalue
   307      X-Ms-Request-Id:
   308      - c0ab391f-301a-0049-3a05-32dd06000000
   309      X-Ms-Server-Encrypted:
   310      - "true"
   311      X-Ms-Type:
   312      - File
   313      X-Ms-Version:
   314      - "2018-03-28"
   315    status: 206 Partial Content
   316    code: 206
   317    duration: ""
   318- request:
   319    body: ""
   320    form: {}
   321    headers:
   322      Authorization:
   323      - SharedKey golangrocksonazure:stHHXPeBh0kERx54R+4qRoLqCVIGZnxxc3a69vd+jW4=
   324      User-Agent:
   325      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   326        file
   327      x-ms-date:
   328      - Thu, 15 Apr 2021 14:39:42 GMT
   329      x-ms-version:
   330      - "2018-03-28"
   331    url: https://golangrocksonazure.file.core.windows.net/share-28storagefilesuitetestgetfile?restype=share
   332    method: DELETE
   333  response:
   334    body: ""
   335    headers:
   336      Content-Length:
   337      - "0"
   338      Date:
   339      - Thu, 15 Apr 2021 14:39:42 GMT
   340      Server:
   341      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   342      X-Ms-Request-Id:
   343      - c0ab3920-301a-0049-3b05-32dd06000000
   344      X-Ms-Version:
   345      - "2018-03-28"
   346    status: 202 Accepted
   347    code: 202
   348    duration: ""

View as plain text