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

     1  {
     2    "Initial": "AQAAAA7agBQtDiqmhf5c",
     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": "53fd12d5bf1768ed",
    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:05 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              "eb3e18cb-801e-000e-2f69-a93192000000"
    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": "b0647fdf06f462e0",
   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:05 GMT"
   164            ],
   165            "Etag": [
   166              "\"0x8DA778046BE91E3\""
   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              "7qI0WPKRDos="
   176            ],
   177            "X-Ms-Request-Id": [
   178              "eb3e18cd-801e-000e-3169-a93192000000"
   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": "d72d2309749c326e",
   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-Version": [
   209              "CLEARED"
   210            ]
   211          },
   212          "MediaType": "",
   213          "BodyParts": [
   214            null
   215          ]
   216        },
   217        "Response": {
   218          "StatusCode": 200,
   219          "Proto": "HTTP/1.1",
   220          "ProtoMajor": 1,
   221          "ProtoMinor": 1,
   222          "Header": {
   223            "Accept-Ranges": [
   224              "bytes"
   225            ],
   226            "Content-Disposition": [
   227              ""
   228            ],
   229            "Content-Length": [
   230              "27"
   231            ],
   232            "Content-Md5": [
   233              "PflsWr6X8pZ9OAEIcAMKXw=="
   234            ],
   235            "Content-Type": [
   236              "text/plain; charset=utf-8"
   237            ],
   238            "Date": [
   239              "Sat, 06 Aug 2022 07:50:05 GMT"
   240            ],
   241            "Etag": [
   242              "\"0x8DA778046BE91E3\""
   243            ],
   244            "Last-Modified": [
   245              "Sat, 06 Aug 2022 07:50:05 GMT"
   246            ],
   247            "Server": [
   248              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   249            ],
   250            "X-Ms-Blob-Type": [
   251              "BlockBlob"
   252            ],
   253            "X-Ms-Creation-Time": [
   254              "Sat, 06 Aug 2022 07:50:05 GMT"
   255            ],
   256            "X-Ms-Lease-State": [
   257              "available"
   258            ],
   259            "X-Ms-Lease-Status": [
   260              "unlocked"
   261            ],
   262            "X-Ms-Request-Id": [
   263              "eb3e18d0-801e-000e-3469-a93192000000"
   264            ],
   265            "X-Ms-Server-Encrypted": [
   266              "true"
   267            ],
   268            "X-Ms-Version": [
   269              "CLEARED"
   270            ]
   271          },
   272          "Body": "YWJjZGVmZ2hpamtsbW5vcHF1cnN0dXZ3eHl6"
   273        }
   274      },
   275      {
   276        "ID": "e5218c9e2cec90f8",
   277        "Request": {
   278          "Method": "GET",
   279          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading",
   280          "Header": {
   281            "Accept": [
   282              "application/xml"
   283            ],
   284            "Accept-Encoding": [
   285              "gzip"
   286            ],
   287            "User-Agent": [
   288              "CLEARED"
   289            ],
   290            "X-Ms-Date": [
   291              "CLEARED"
   292            ],
   293            "X-Ms-Version": [
   294              "CLEARED"
   295            ]
   296          },
   297          "MediaType": "",
   298          "BodyParts": [
   299            null
   300          ]
   301        },
   302        "Response": {
   303          "StatusCode": 200,
   304          "Proto": "HTTP/1.1",
   305          "ProtoMajor": 1,
   306          "ProtoMinor": 1,
   307          "Header": {
   308            "Accept-Ranges": [
   309              "bytes"
   310            ],
   311            "Content-Disposition": [
   312              ""
   313            ],
   314            "Content-Length": [
   315              "27"
   316            ],
   317            "Content-Md5": [
   318              "PflsWr6X8pZ9OAEIcAMKXw=="
   319            ],
   320            "Content-Type": [
   321              "text/plain; charset=utf-8"
   322            ],
   323            "Date": [
   324              "Sat, 06 Aug 2022 07:50:05 GMT"
   325            ],
   326            "Etag": [
   327              "\"0x8DA778046BE91E3\""
   328            ],
   329            "Last-Modified": [
   330              "Sat, 06 Aug 2022 07:50:05 GMT"
   331            ],
   332            "Server": [
   333              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   334            ],
   335            "X-Ms-Blob-Type": [
   336              "BlockBlob"
   337            ],
   338            "X-Ms-Creation-Time": [
   339              "Sat, 06 Aug 2022 07:50:05 GMT"
   340            ],
   341            "X-Ms-Lease-State": [
   342              "available"
   343            ],
   344            "X-Ms-Lease-Status": [
   345              "unlocked"
   346            ],
   347            "X-Ms-Request-Id": [
   348              "eb3e18d4-801e-000e-3869-a93192000000"
   349            ],
   350            "X-Ms-Server-Encrypted": [
   351              "true"
   352            ],
   353            "X-Ms-Version": [
   354              "CLEARED"
   355            ]
   356          },
   357          "Body": "YWJjZGVmZ2hpamtsbW5vcHF1cnN0dXZ3eHl6"
   358        }
   359      },
   360      {
   361        "ID": "2f7a3b8a4816ece0",
   362        "Request": {
   363          "Method": "GET",
   364          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading",
   365          "Header": {
   366            "Accept": [
   367              "application/xml"
   368            ],
   369            "Accept-Encoding": [
   370              "gzip"
   371            ],
   372            "User-Agent": [
   373              "CLEARED"
   374            ],
   375            "X-Ms-Date": [
   376              "CLEARED"
   377            ],
   378            "X-Ms-Range": [
   379              "bytes=18-"
   380            ],
   381            "X-Ms-Version": [
   382              "CLEARED"
   383            ]
   384          },
   385          "MediaType": "",
   386          "BodyParts": [
   387            null
   388          ]
   389        },
   390        "Response": {
   391          "StatusCode": 206,
   392          "Proto": "HTTP/1.1",
   393          "ProtoMajor": 1,
   394          "ProtoMinor": 1,
   395          "Header": {
   396            "Accept-Ranges": [
   397              "bytes"
   398            ],
   399            "Content-Disposition": [
   400              ""
   401            ],
   402            "Content-Length": [
   403              "9"
   404            ],
   405            "Content-Range": [
   406              "bytes 18-26/27"
   407            ],
   408            "Content-Type": [
   409              "text/plain; charset=utf-8"
   410            ],
   411            "Date": [
   412              "Sat, 06 Aug 2022 07:50:05 GMT"
   413            ],
   414            "Etag": [
   415              "\"0x8DA778046BE91E3\""
   416            ],
   417            "Last-Modified": [
   418              "Sat, 06 Aug 2022 07:50:05 GMT"
   419            ],
   420            "Server": [
   421              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   422            ],
   423            "X-Ms-Blob-Content-Md5": [
   424              "PflsWr6X8pZ9OAEIcAMKXw=="
   425            ],
   426            "X-Ms-Blob-Type": [
   427              "BlockBlob"
   428            ],
   429            "X-Ms-Creation-Time": [
   430              "Sat, 06 Aug 2022 07:50:05 GMT"
   431            ],
   432            "X-Ms-Lease-State": [
   433              "available"
   434            ],
   435            "X-Ms-Lease-Status": [
   436              "unlocked"
   437            ],
   438            "X-Ms-Request-Id": [
   439              "eb3e18d7-801e-000e-3b69-a93192000000"
   440            ],
   441            "X-Ms-Server-Encrypted": [
   442              "true"
   443            ],
   444            "X-Ms-Version": [
   445              "CLEARED"
   446            ]
   447          },
   448          "Body": "cnN0dXZ3eHl6"
   449        }
   450      },
   451      {
   452        "ID": "372f1127a717a384",
   453        "Request": {
   454          "Method": "GET",
   455          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading",
   456          "Header": {
   457            "Accept": [
   458              "application/xml"
   459            ],
   460            "Accept-Encoding": [
   461              "gzip"
   462            ],
   463            "User-Agent": [
   464              "CLEARED"
   465            ],
   466            "X-Ms-Date": [
   467              "CLEARED"
   468            ],
   469            "X-Ms-Range": [
   470              "bytes=18-"
   471            ],
   472            "X-Ms-Version": [
   473              "CLEARED"
   474            ]
   475          },
   476          "MediaType": "",
   477          "BodyParts": [
   478            null
   479          ]
   480        },
   481        "Response": {
   482          "StatusCode": 206,
   483          "Proto": "HTTP/1.1",
   484          "ProtoMajor": 1,
   485          "ProtoMinor": 1,
   486          "Header": {
   487            "Accept-Ranges": [
   488              "bytes"
   489            ],
   490            "Content-Disposition": [
   491              ""
   492            ],
   493            "Content-Length": [
   494              "9"
   495            ],
   496            "Content-Range": [
   497              "bytes 18-26/27"
   498            ],
   499            "Content-Type": [
   500              "text/plain; charset=utf-8"
   501            ],
   502            "Date": [
   503              "Sat, 06 Aug 2022 07:50:05 GMT"
   504            ],
   505            "Etag": [
   506              "\"0x8DA778046BE91E3\""
   507            ],
   508            "Last-Modified": [
   509              "Sat, 06 Aug 2022 07:50:05 GMT"
   510            ],
   511            "Server": [
   512              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   513            ],
   514            "X-Ms-Blob-Content-Md5": [
   515              "PflsWr6X8pZ9OAEIcAMKXw=="
   516            ],
   517            "X-Ms-Blob-Type": [
   518              "BlockBlob"
   519            ],
   520            "X-Ms-Creation-Time": [
   521              "Sat, 06 Aug 2022 07:50:05 GMT"
   522            ],
   523            "X-Ms-Lease-State": [
   524              "available"
   525            ],
   526            "X-Ms-Lease-Status": [
   527              "unlocked"
   528            ],
   529            "X-Ms-Request-Id": [
   530              "eb3e18d9-801e-000e-3d69-a93192000000"
   531            ],
   532            "X-Ms-Server-Encrypted": [
   533              "true"
   534            ],
   535            "X-Ms-Version": [
   536              "CLEARED"
   537            ]
   538          },
   539          "Body": "cnN0dXZ3eHl6"
   540        }
   541      },
   542      {
   543        "ID": "35888f6d06c1d88f",
   544        "Request": {
   545          "Method": "GET",
   546          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading",
   547          "Header": {
   548            "Accept": [
   549              "application/xml"
   550            ],
   551            "Accept-Encoding": [
   552              "gzip"
   553            ],
   554            "User-Agent": [
   555              "CLEARED"
   556            ],
   557            "X-Ms-Date": [
   558              "CLEARED"
   559            ],
   560            "X-Ms-Range": [
   561              "bytes=9-"
   562            ],
   563            "X-Ms-Version": [
   564              "CLEARED"
   565            ]
   566          },
   567          "MediaType": "",
   568          "BodyParts": [
   569            null
   570          ]
   571        },
   572        "Response": {
   573          "StatusCode": 206,
   574          "Proto": "HTTP/1.1",
   575          "ProtoMajor": 1,
   576          "ProtoMinor": 1,
   577          "Header": {
   578            "Accept-Ranges": [
   579              "bytes"
   580            ],
   581            "Content-Disposition": [
   582              ""
   583            ],
   584            "Content-Length": [
   585              "18"
   586            ],
   587            "Content-Range": [
   588              "bytes 9-26/27"
   589            ],
   590            "Content-Type": [
   591              "text/plain; charset=utf-8"
   592            ],
   593            "Date": [
   594              "Sat, 06 Aug 2022 07:50:05 GMT"
   595            ],
   596            "Etag": [
   597              "\"0x8DA778046BE91E3\""
   598            ],
   599            "Last-Modified": [
   600              "Sat, 06 Aug 2022 07:50:05 GMT"
   601            ],
   602            "Server": [
   603              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   604            ],
   605            "X-Ms-Blob-Content-Md5": [
   606              "PflsWr6X8pZ9OAEIcAMKXw=="
   607            ],
   608            "X-Ms-Blob-Type": [
   609              "BlockBlob"
   610            ],
   611            "X-Ms-Creation-Time": [
   612              "Sat, 06 Aug 2022 07:50:05 GMT"
   613            ],
   614            "X-Ms-Lease-State": [
   615              "available"
   616            ],
   617            "X-Ms-Lease-Status": [
   618              "unlocked"
   619            ],
   620            "X-Ms-Request-Id": [
   621              "eb3e18dc-801e-000e-4069-a93192000000"
   622            ],
   623            "X-Ms-Server-Encrypted": [
   624              "true"
   625            ],
   626            "X-Ms-Version": [
   627              "CLEARED"
   628            ]
   629          },
   630          "Body": "amtsbW5vcHF1cnN0dXZ3eHl6"
   631        }
   632      },
   633      {
   634        "ID": "807ebb567bbc0e42",
   635        "Request": {
   636          "Method": "DELETE",
   637          "URL": "https://gocloudblobtests.blob.core.windows.net/go-cloud-bucket/blob-for-reading",
   638          "Header": {
   639            "Accept": [
   640              "application/xml"
   641            ],
   642            "Accept-Encoding": [
   643              "gzip"
   644            ],
   645            "User-Agent": [
   646              "CLEARED"
   647            ],
   648            "X-Ms-Date": [
   649              "CLEARED"
   650            ],
   651            "X-Ms-Version": [
   652              "CLEARED"
   653            ]
   654          },
   655          "MediaType": "",
   656          "BodyParts": [
   657            null
   658          ]
   659        },
   660        "Response": {
   661          "StatusCode": 202,
   662          "Proto": "HTTP/1.1",
   663          "ProtoMajor": 1,
   664          "ProtoMinor": 1,
   665          "Header": {
   666            "Content-Length": [
   667              "0"
   668            ],
   669            "Date": [
   670              "Sat, 06 Aug 2022 07:50:05 GMT"
   671            ],
   672            "Server": [
   673              "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"
   674            ],
   675            "X-Ms-Delete-Type-Permanent": [
   676              "true"
   677            ],
   678            "X-Ms-Request-Id": [
   679              "eb3e18dd-801e-000e-4169-a93192000000"
   680            ],
   681            "X-Ms-Version": [
   682              "CLEARED"
   683            ]
   684          },
   685          "Body": ""
   686        }
   687      }
   688    ]
   689  }