github.com/SaurabhDubey-Groww/go-cloud@v0.0.0-20221124105541-b26c29285fd8/blob/azureblob/testdata/TestConformance/TestRead/read_a_part_in_middle.replay (about)

     1  {
     2    "Initial": "AQAAAA7agBQtCN6hM/5c",
     3    "Version": "0.2",
     4    "Converter": {
     5      "ScrubBody": [
     6        "\u003cBlock(l|L)ist\u003e\u003cLatest\u003e.*\u003c/Latest\u003e\u003c/Block(l|L)ist\u003e"
     7      ],
     8      "ClearHeaders": [
     9        "^X-Goog-.*Encryption-Key$",
    10        "^X-Ms-Date$",
    11        "^X-Ms-Version$",
    12        "^User-Agent$"
    13      ],
    14      "RemoveRequestHeaders": [
    15        "^Authorization$",
    16        "^Proxy-Authorization$",
    17        "^Connection$",
    18        "^Content-Type$",
    19        "^Date$",
    20        "^Host$",
    21        "^Transfer-Encoding$",
    22        "^Via$",
    23        "^X-Forwarded-.*$",
    24        "^X-Cloud-Trace-Context$",
    25        "^X-Goog-Api-Client$",
    26        "^X-Google-.*$",
    27        "^X-Gfe-.*$"
    28      ],
    29      "RemoveResponseHeaders": [
    30        "^X-Google-.*$",
    31        "^X-Gfe-.*$"
    32      ],
    33      "ClearParams": [
    34        "^blockid$"
    35      ],
    36      "RemoveParams": [
    37        "^se$",
    38        "^sig$",
    39        "^st$",
    40        "^X-Ms-Date$"
    41      ]
    42    },
    43    "Entries": [
    44      {
    45        "ID": "daadab5addd2b6cc",
    46        "Request": {
    47          "Method": "PUT",
    48          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading?blockid=CLEARED\u0026comp=block",
    49          "Header": {
    50            "Accept": [
    51              "application/xml"
    52            ],
    53            "Accept-Encoding": [
    54              "gzip"
    55            ],
    56            "Content-Length": [
    57              "27"
    58            ],
    59            "User-Agent": [
    60              "CLEARED"
    61            ],
    62            "X-Ms-Date": [
    63              "CLEARED"
    64            ],
    65            "X-Ms-Version": [
    66              "CLEARED"
    67            ]
    68          },
    69          "MediaType": "application/octet-stream",
    70          "BodyParts": [
    71            "YWJjZGVmZ2hpamtsbW5vcHF1cnN0dXZ3eHl6"
    72          ]
    73        },
    74        "Response": {
    75          "StatusCode": 201,
    76          "Proto": "HTTP/1.1",
    77          "ProtoMajor": 1,
    78          "ProtoMinor": 1,
    79          "Header": {
    80            "Content-Length": [
    81              "0"
    82            ],
    83            "Date": [
    84              "Sat, 06 Aug 2022 07:50:04 GMT"
    85            ],
    86            "Server": [
    87              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
    88            ],
    89            "X-Ms-Content-Crc64": [
    90              "CQSsryslIqA="
    91            ],
    92            "X-Ms-Request-Id": [
    93              "0f1b8457-b01e-0067-2569-a908de000000"
    94            ],
    95            "X-Ms-Request-Server-Encrypted": [
    96              "true"
    97            ],
    98            "X-Ms-Version": [
    99              "CLEARED"
   100            ]
   101          },
   102          "Body": ""
   103        }
   104      },
   105      {
   106        "ID": "3e1c0663b7d6961c",
   107        "Request": {
   108          "Method": "PUT",
   109          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading?comp=blocklist",
   110          "Header": {
   111            "Accept": [
   112              "application/xml"
   113            ],
   114            "Accept-Encoding": [
   115              "gzip"
   116            ],
   117            "Content-Length": [
   118              "167"
   119            ],
   120            "User-Agent": [
   121              "CLEARED"
   122            ],
   123            "X-Ms-Blob-Cache-Control": [
   124              ""
   125            ],
   126            "X-Ms-Blob-Content-Disposition": [
   127              ""
   128            ],
   129            "X-Ms-Blob-Content-Encoding": [
   130              ""
   131            ],
   132            "X-Ms-Blob-Content-Language": [
   133              ""
   134            ],
   135            "X-Ms-Blob-Content-Md5": [
   136              "PflsWr6X8pZ9OAEIcAMKXw=="
   137            ],
   138            "X-Ms-Blob-Content-Type": [
   139              "text/plain; charset=utf-8"
   140            ],
   141            "X-Ms-Date": [
   142              "CLEARED"
   143            ],
   144            "X-Ms-Version": [
   145              "CLEARED"
   146            ]
   147          },
   148          "MediaType": "application/xml",
   149          "BodyParts": [
   150            "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KQ0xFQVJFRA=="
   151          ]
   152        },
   153        "Response": {
   154          "StatusCode": 201,
   155          "Proto": "HTTP/1.1",
   156          "ProtoMajor": 1,
   157          "ProtoMinor": 1,
   158          "Header": {
   159            "Content-Length": [
   160              "0"
   161            ],
   162            "Date": [
   163              "Sat, 06 Aug 2022 07:50:04 GMT"
   164            ],
   165            "Etag": [
   166              "\"0x8DA778046B1C27C\""
   167            ],
   168            "Last-Modified": [
   169              "Sat, 06 Aug 2022 07:50:05 GMT"
   170            ],
   171            "Server": [
   172              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   173            ],
   174            "X-Ms-Content-Crc64": [
   175              "baZq3CJspgQ="
   176            ],
   177            "X-Ms-Request-Id": [
   178              "0f1b845c-b01e-0067-2869-a908de000000"
   179            ],
   180            "X-Ms-Request-Server-Encrypted": [
   181              "true"
   182            ],
   183            "X-Ms-Version": [
   184              "CLEARED"
   185            ]
   186          },
   187          "Body": ""
   188        }
   189      },
   190      {
   191        "ID": "7f327581c20fd20a",
   192        "Request": {
   193          "Method": "GET",
   194          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading",
   195          "Header": {
   196            "Accept": [
   197              "application/xml"
   198            ],
   199            "Accept-Encoding": [
   200              "gzip"
   201            ],
   202            "User-Agent": [
   203              "CLEARED"
   204            ],
   205            "X-Ms-Date": [
   206              "CLEARED"
   207            ],
   208            "X-Ms-Range": [
   209              "bytes=10-14"
   210            ],
   211            "X-Ms-Version": [
   212              "CLEARED"
   213            ]
   214          },
   215          "MediaType": "",
   216          "BodyParts": [
   217            null
   218          ]
   219        },
   220        "Response": {
   221          "StatusCode": 206,
   222          "Proto": "HTTP/1.1",
   223          "ProtoMajor": 1,
   224          "ProtoMinor": 1,
   225          "Header": {
   226            "Accept-Ranges": [
   227              "bytes"
   228            ],
   229            "Content-Disposition": [
   230              ""
   231            ],
   232            "Content-Length": [
   233              "5"
   234            ],
   235            "Content-Range": [
   236              "bytes 10-14/27"
   237            ],
   238            "Content-Type": [
   239              "text/plain; charset=utf-8"
   240            ],
   241            "Date": [
   242              "Sat, 06 Aug 2022 07:50:04 GMT"
   243            ],
   244            "Etag": [
   245              "\"0x8DA778046B1C27C\""
   246            ],
   247            "Last-Modified": [
   248              "Sat, 06 Aug 2022 07:50:05 GMT"
   249            ],
   250            "Server": [
   251              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   252            ],
   253            "X-Ms-Blob-Content-Md5": [
   254              "PflsWr6X8pZ9OAEIcAMKXw=="
   255            ],
   256            "X-Ms-Blob-Type": [
   257              "BlockBlob"
   258            ],
   259            "X-Ms-Creation-Time": [
   260              "Sat, 06 Aug 2022 07:50:05 GMT"
   261            ],
   262            "X-Ms-Lease-State": [
   263              "available"
   264            ],
   265            "X-Ms-Lease-Status": [
   266              "unlocked"
   267            ],
   268            "X-Ms-Request-Id": [
   269              "0f1b845d-b01e-0067-2969-a908de000000"
   270            ],
   271            "X-Ms-Server-Encrypted": [
   272              "true"
   273            ],
   274            "X-Ms-Version": [
   275              "CLEARED"
   276            ]
   277          },
   278          "Body": "a2xtbm8="
   279        }
   280      },
   281      {
   282        "ID": "a364eb8fa3077c01",
   283        "Request": {
   284          "Method": "GET",
   285          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading",
   286          "Header": {
   287            "Accept": [
   288              "application/xml"
   289            ],
   290            "Accept-Encoding": [
   291              "gzip"
   292            ],
   293            "User-Agent": [
   294              "CLEARED"
   295            ],
   296            "X-Ms-Date": [
   297              "CLEARED"
   298            ],
   299            "X-Ms-Range": [
   300              "bytes=10-14"
   301            ],
   302            "X-Ms-Version": [
   303              "CLEARED"
   304            ]
   305          },
   306          "MediaType": "",
   307          "BodyParts": [
   308            null
   309          ]
   310        },
   311        "Response": {
   312          "StatusCode": 206,
   313          "Proto": "HTTP/1.1",
   314          "ProtoMajor": 1,
   315          "ProtoMinor": 1,
   316          "Header": {
   317            "Accept-Ranges": [
   318              "bytes"
   319            ],
   320            "Content-Disposition": [
   321              ""
   322            ],
   323            "Content-Length": [
   324              "5"
   325            ],
   326            "Content-Range": [
   327              "bytes 10-14/27"
   328            ],
   329            "Content-Type": [
   330              "text/plain; charset=utf-8"
   331            ],
   332            "Date": [
   333              "Sat, 06 Aug 2022 07:50:04 GMT"
   334            ],
   335            "Etag": [
   336              "\"0x8DA778046B1C27C\""
   337            ],
   338            "Last-Modified": [
   339              "Sat, 06 Aug 2022 07:50:05 GMT"
   340            ],
   341            "Server": [
   342              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   343            ],
   344            "X-Ms-Blob-Content-Md5": [
   345              "PflsWr6X8pZ9OAEIcAMKXw=="
   346            ],
   347            "X-Ms-Blob-Type": [
   348              "BlockBlob"
   349            ],
   350            "X-Ms-Creation-Time": [
   351              "Sat, 06 Aug 2022 07:50:05 GMT"
   352            ],
   353            "X-Ms-Lease-State": [
   354              "available"
   355            ],
   356            "X-Ms-Lease-Status": [
   357              "unlocked"
   358            ],
   359            "X-Ms-Request-Id": [
   360              "0f1b845e-b01e-0067-2a69-a908de000000"
   361            ],
   362            "X-Ms-Server-Encrypted": [
   363              "true"
   364            ],
   365            "X-Ms-Version": [
   366              "CLEARED"
   367            ]
   368          },
   369          "Body": "a2xtbm8="
   370        }
   371      },
   372      {
   373        "ID": "20d4b3a6b2e81b83",
   374        "Request": {
   375          "Method": "GET",
   376          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading",
   377          "Header": {
   378            "Accept": [
   379              "application/xml"
   380            ],
   381            "Accept-Encoding": [
   382              "gzip"
   383            ],
   384            "User-Agent": [
   385              "CLEARED"
   386            ],
   387            "X-Ms-Date": [
   388              "CLEARED"
   389            ],
   390            "X-Ms-Range": [
   391              "bytes=14-14"
   392            ],
   393            "X-Ms-Version": [
   394              "CLEARED"
   395            ]
   396          },
   397          "MediaType": "",
   398          "BodyParts": [
   399            null
   400          ]
   401        },
   402        "Response": {
   403          "StatusCode": 206,
   404          "Proto": "HTTP/1.1",
   405          "ProtoMajor": 1,
   406          "ProtoMinor": 1,
   407          "Header": {
   408            "Accept-Ranges": [
   409              "bytes"
   410            ],
   411            "Content-Disposition": [
   412              ""
   413            ],
   414            "Content-Length": [
   415              "1"
   416            ],
   417            "Content-Range": [
   418              "bytes 14-14/27"
   419            ],
   420            "Content-Type": [
   421              "text/plain; charset=utf-8"
   422            ],
   423            "Date": [
   424              "Sat, 06 Aug 2022 07:50:04 GMT"
   425            ],
   426            "Etag": [
   427              "\"0x8DA778046B1C27C\""
   428            ],
   429            "Last-Modified": [
   430              "Sat, 06 Aug 2022 07:50:05 GMT"
   431            ],
   432            "Server": [
   433              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   434            ],
   435            "X-Ms-Blob-Content-Md5": [
   436              "PflsWr6X8pZ9OAEIcAMKXw=="
   437            ],
   438            "X-Ms-Blob-Type": [
   439              "BlockBlob"
   440            ],
   441            "X-Ms-Creation-Time": [
   442              "Sat, 06 Aug 2022 07:50:05 GMT"
   443            ],
   444            "X-Ms-Lease-State": [
   445              "available"
   446            ],
   447            "X-Ms-Lease-Status": [
   448              "unlocked"
   449            ],
   450            "X-Ms-Request-Id": [
   451              "0f1b845f-b01e-0067-2b69-a908de000000"
   452            ],
   453            "X-Ms-Server-Encrypted": [
   454              "true"
   455            ],
   456            "X-Ms-Version": [
   457              "CLEARED"
   458            ]
   459          },
   460          "Body": "bw=="
   461        }
   462      },
   463      {
   464        "ID": "43c63cf4f81a8de8",
   465        "Request": {
   466          "Method": "GET",
   467          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading",
   468          "Header": {
   469            "Accept": [
   470              "application/xml"
   471            ],
   472            "Accept-Encoding": [
   473              "gzip"
   474            ],
   475            "User-Agent": [
   476              "CLEARED"
   477            ],
   478            "X-Ms-Date": [
   479              "CLEARED"
   480            ],
   481            "X-Ms-Range": [
   482              "bytes=14-14"
   483            ],
   484            "X-Ms-Version": [
   485              "CLEARED"
   486            ]
   487          },
   488          "MediaType": "",
   489          "BodyParts": [
   490            null
   491          ]
   492        },
   493        "Response": {
   494          "StatusCode": 206,
   495          "Proto": "HTTP/1.1",
   496          "ProtoMajor": 1,
   497          "ProtoMinor": 1,
   498          "Header": {
   499            "Accept-Ranges": [
   500              "bytes"
   501            ],
   502            "Content-Disposition": [
   503              ""
   504            ],
   505            "Content-Length": [
   506              "1"
   507            ],
   508            "Content-Range": [
   509              "bytes 14-14/27"
   510            ],
   511            "Content-Type": [
   512              "text/plain; charset=utf-8"
   513            ],
   514            "Date": [
   515              "Sat, 06 Aug 2022 07:50:04 GMT"
   516            ],
   517            "Etag": [
   518              "\"0x8DA778046B1C27C\""
   519            ],
   520            "Last-Modified": [
   521              "Sat, 06 Aug 2022 07:50:05 GMT"
   522            ],
   523            "Server": [
   524              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   525            ],
   526            "X-Ms-Blob-Content-Md5": [
   527              "PflsWr6X8pZ9OAEIcAMKXw=="
   528            ],
   529            "X-Ms-Blob-Type": [
   530              "BlockBlob"
   531            ],
   532            "X-Ms-Creation-Time": [
   533              "Sat, 06 Aug 2022 07:50:05 GMT"
   534            ],
   535            "X-Ms-Lease-State": [
   536              "available"
   537            ],
   538            "X-Ms-Lease-Status": [
   539              "unlocked"
   540            ],
   541            "X-Ms-Request-Id": [
   542              "0f1b8461-b01e-0067-2d69-a908de000000"
   543            ],
   544            "X-Ms-Server-Encrypted": [
   545              "true"
   546            ],
   547            "X-Ms-Version": [
   548              "CLEARED"
   549            ]
   550          },
   551          "Body": "bw=="
   552        }
   553      },
   554      {
   555        "ID": "021064c6d007706e",
   556        "Request": {
   557          "Method": "GET",
   558          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading",
   559          "Header": {
   560            "Accept": [
   561              "application/xml"
   562            ],
   563            "Accept-Encoding": [
   564              "gzip"
   565            ],
   566            "User-Agent": [
   567              "CLEARED"
   568            ],
   569            "X-Ms-Date": [
   570              "CLEARED"
   571            ],
   572            "X-Ms-Range": [
   573              "bytes=12-14"
   574            ],
   575            "X-Ms-Version": [
   576              "CLEARED"
   577            ]
   578          },
   579          "MediaType": "",
   580          "BodyParts": [
   581            null
   582          ]
   583        },
   584        "Response": {
   585          "StatusCode": 206,
   586          "Proto": "HTTP/1.1",
   587          "ProtoMajor": 1,
   588          "ProtoMinor": 1,
   589          "Header": {
   590            "Accept-Ranges": [
   591              "bytes"
   592            ],
   593            "Content-Disposition": [
   594              ""
   595            ],
   596            "Content-Length": [
   597              "3"
   598            ],
   599            "Content-Range": [
   600              "bytes 12-14/27"
   601            ],
   602            "Content-Type": [
   603              "text/plain; charset=utf-8"
   604            ],
   605            "Date": [
   606              "Sat, 06 Aug 2022 07:50:04 GMT"
   607            ],
   608            "Etag": [
   609              "\"0x8DA778046B1C27C\""
   610            ],
   611            "Last-Modified": [
   612              "Sat, 06 Aug 2022 07:50:05 GMT"
   613            ],
   614            "Server": [
   615              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   616            ],
   617            "X-Ms-Blob-Content-Md5": [
   618              "PflsWr6X8pZ9OAEIcAMKXw=="
   619            ],
   620            "X-Ms-Blob-Type": [
   621              "BlockBlob"
   622            ],
   623            "X-Ms-Creation-Time": [
   624              "Sat, 06 Aug 2022 07:50:05 GMT"
   625            ],
   626            "X-Ms-Lease-State": [
   627              "available"
   628            ],
   629            "X-Ms-Lease-Status": [
   630              "unlocked"
   631            ],
   632            "X-Ms-Request-Id": [
   633              "0f1b8463-b01e-0067-2e69-a908de000000"
   634            ],
   635            "X-Ms-Server-Encrypted": [
   636              "true"
   637            ],
   638            "X-Ms-Version": [
   639              "CLEARED"
   640            ]
   641          },
   642          "Body": "bW5v"
   643        }
   644      },
   645      {
   646        "ID": "f30976422a11128e",
   647        "Request": {
   648          "Method": "DELETE",
   649          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading",
   650          "Header": {
   651            "Accept": [
   652              "application/xml"
   653            ],
   654            "Accept-Encoding": [
   655              "gzip"
   656            ],
   657            "User-Agent": [
   658              "CLEARED"
   659            ],
   660            "X-Ms-Date": [
   661              "CLEARED"
   662            ],
   663            "X-Ms-Version": [
   664              "CLEARED"
   665            ]
   666          },
   667          "MediaType": "",
   668          "BodyParts": [
   669            null
   670          ]
   671        },
   672        "Response": {
   673          "StatusCode": 202,
   674          "Proto": "HTTP/1.1",
   675          "ProtoMajor": 1,
   676          "ProtoMinor": 1,
   677          "Header": {
   678            "Content-Length": [
   679              "0"
   680            ],
   681            "Date": [
   682              "Sat, 06 Aug 2022 07:50:04 GMT"
   683            ],
   684            "Server": [
   685              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   686            ],
   687            "X-Ms-Delete-Type-Permanent": [
   688              "true"
   689            ],
   690            "X-Ms-Request-Id": [
   691              "0f1b8467-b01e-0067-3169-a908de000000"
   692            ],
   693            "X-Ms-Version": [
   694              "CLEARED"
   695            ]
   696          },
   697          "Body": ""
   698        }
   699      }
   700    ]
   701  }