github.com/cornelk/go-cloud@v0.17.1/blob/gcsblob/testdata/TestConformance/TestCanceledWrite/BlobExists.replay (about)

     1  {
     2    "Initial": "AQAAAA7U35LwFiJ5zP5c",
     3    "Version": "0.2",
     4    "Converter": {
     5      "ClearHeaders": [
     6        "^X-Goog-.*Encryption-Key$",
     7        "^Expires$",
     8        "^Signature$"
     9      ],
    10      "RemoveRequestHeaders": [
    11        "^Authorization$",
    12        "^Proxy-Authorization$",
    13        "^Connection$",
    14        "^Content-Type$",
    15        "^Date$",
    16        "^Host$",
    17        "^Transfer-Encoding$",
    18        "^Via$",
    19        "^X-Forwarded-.*$",
    20        "^X-Cloud-Trace-Context$",
    21        "^X-Goog-Api-Client$",
    22        "^X-Google-.*$",
    23        "^X-Gfe-.*$"
    24      ],
    25      "RemoveResponseHeaders": [
    26        "^X-Google-.*$",
    27        "^X-Gfe-.*$"
    28      ],
    29      "ClearParams": [
    30        "^Expires$",
    31        "^Signature$"
    32      ],
    33      "RemoveParams": null
    34    },
    35    "Entries": [
    36      {
    37        "ID": "8fbff986e3cc6d78",
    38        "Request": {
    39          "Method": "POST",
    40          "URL": "https://www.googleapis.com/upload/storage/v1/b/go-cloud-blob-test-bucket/o?alt=json\u0026prettyPrint=false\u0026projection=full\u0026uploadType=multipart",
    41          "Header": {
    42            "Accept-Encoding": [
    43              "gzip"
    44            ],
    45            "User-Agent": [
    46              "google-api-go-client/0.5 go-cloud/blob/0.1.0"
    47            ]
    48          },
    49          "MediaType": "multipart/related",
    50          "BodyParts": [
    51            "eyJidWNrZXQiOiJnby1jbG91ZC1ibG9iLXRlc3QtYnVja2V0IiwiY29udGVudFR5cGUiOiJ0ZXh0L3BsYWluOyBjaGFyc2V0PXV0Zi04IiwibWQ1SGFzaCI6IlhyWTd1K0FlN3RDVHl5SzdqMXJOd3c9PSIsIm5hbWUiOiJibG9iLWZvci1jYW5jZWxlZC13cml0ZSJ9Cg==",
    52            "aGVsbG8gd29ybGQ="
    53          ]
    54        },
    55        "Response": {
    56          "StatusCode": 200,
    57          "Proto": "HTTP/1.1",
    58          "ProtoMajor": 1,
    59          "ProtoMinor": 1,
    60          "Header": {
    61            "Alt-Svc": [
    62              "quic=\":443\"; ma=2592000; v=\"46,43,39\""
    63            ],
    64            "Cache-Control": [
    65              "no-cache, no-store, max-age=0, must-revalidate"
    66            ],
    67            "Content-Length": [
    68              "2895"
    69            ],
    70            "Content-Type": [
    71              "application/json; charset=UTF-8"
    72            ],
    73            "Date": [
    74              "Fri, 09 Aug 2019 16:14:40 GMT"
    75            ],
    76            "Etag": [
    77              "CKqH0MWX9uMCEAE="
    78            ],
    79            "Expires": [
    80              "CLEARED"
    81            ],
    82            "Pragma": [
    83              "no-cache"
    84            ],
    85            "Server": [
    86              "UploadServer"
    87            ],
    88            "Vary": [
    89              "Origin",
    90              "X-Origin"
    91            ],
    92            "X-Guploader-Customer": [
    93              "apiary_cloudstorage_single_post_uploads"
    94            ],
    95            "X-Guploader-Request-Result": [
    96              "success"
    97            ],
    98            "X-Guploader-Upload-Result": [
    99              "success"
   100            ],
   101            "X-Guploader-Uploadid": [
   102              "AEnB2UpUpRD8DJWHY7CJLSWXREtyfibWHwYO7LvaZDWmTkQm8WP8KSMmn5eB9i0js-yEo0GIQrvzzXiylJvU_ujD1ZvLB4H7DA"
   103            ]
   104          },
   105          "Body": "eyJraW5kIjoic3RvcmFnZSNvYmplY3QiLCJpZCI6ImdvLWNsb3VkLWJsb2ItdGVzdC1idWNrZXQvYmxvYi1mb3ItY2FuY2VsZWQtd3JpdGUvMTU2NTM2NzI4MDU5OTk3OCIsInNlbGZMaW5rIjoiaHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vc3RvcmFnZS92MS9iL2dvLWNsb3VkLWJsb2ItdGVzdC1idWNrZXQvby9ibG9iLWZvci1jYW5jZWxlZC13cml0ZSIsIm5hbWUiOiJibG9iLWZvci1jYW5jZWxlZC13cml0ZSIsImJ1Y2tldCI6ImdvLWNsb3VkLWJsb2ItdGVzdC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0aW9uIjoiMTU2NTM2NzI4MDU5OTk3OCIsImVudGl0eSI6InVzZXItcnZhbmdlbnRAZ29vZ2xlLmNvbSIsInJvbGUiOiJPV05FUiIsImVtYWlsIjoicnZhbmdlbnRAZ29vZ2xlLmNvbSIsImV0YWciOiJDS3FIME1XWDl1TUNFQUU9In1dLCJvd25lciI6eyJlbnRpdHkiOiJ1c2VyLXJ2YW5nZW50QGdvb2dsZS5jb20ifSwiY3JjMzJjIjoieVpSbHFnPT0iLCJldGFnIjoiQ0txSDBNV1g5dU1DRUFFPSJ9"
   106        }
   107      },
   108      {
   109        "ID": "067b7ff9beee87c3",
   110        "Request": {
   111          "Method": "GET",
   112          "URL": "https://storage.googleapis.com/go-cloud-blob-test-bucket/blob-for-canceled-write",
   113          "Header": {
   114            "Accept-Encoding": [
   115              "gzip"
   116            ],
   117            "User-Agent": [
   118              "go-cloud/blob/0.1.0"
   119            ]
   120          },
   121          "MediaType": "",
   122          "BodyParts": [
   123            ""
   124          ]
   125        },
   126        "Response": {
   127          "StatusCode": 200,
   128          "Proto": "HTTP/1.1",
   129          "ProtoMajor": 1,
   130          "ProtoMinor": 1,
   131          "Header": {
   132            "Accept-Ranges": [
   133              "bytes"
   134            ],
   135            "Alt-Svc": [
   136              "quic=\":443\"; ma=2592000; v=\"46,43,39\""
   137            ],
   138            "Cache-Control": [
   139              "private, max-age=0"
   140            ],
   141            "Content-Length": [
   142              "11"
   143            ],
   144            "Content-Type": [
   145              "text/plain; charset=utf-8"
   146            ],
   147            "Date": [
   148              "Fri, 09 Aug 2019 16:14:40 GMT"
   149            ],
   150            "Etag": [
   151              "\"5eb63bbbe01eeed093cb22bb8f5acdc3\""
   152            ],
   153            "Expires": [
   154              "CLEARED"
   155            ],
   156            "Last-Modified": [
   157              "Fri, 09 Aug 2019 16:14:40 GMT"
   158            ],
   159            "Server": [
   160              "UploadServer"
   161            ],
   162            "X-Goog-Generation": [
   163              "1565367280599978"
   164            ],
   165            "X-Goog-Hash": [
   166              "crc32c=yZRlqg==",
   167              "md5=XrY7u+Ae7tCTyyK7j1rNww=="
   168            ],
   169            "X-Goog-Metageneration": [
   170              "1"
   171            ],
   172            "X-Goog-Storage-Class": [
   173              "REGIONAL"
   174            ],
   175            "X-Goog-Stored-Content-Encoding": [
   176              "identity"
   177            ],
   178            "X-Goog-Stored-Content-Length": [
   179              "11"
   180            ],
   181            "X-Guploader-Customer": [
   182              "cloud-storage"
   183            ],
   184            "X-Guploader-Request-Result": [
   185              "success"
   186            ],
   187            "X-Guploader-Upload-Result": [
   188              "success"
   189            ],
   190            "X-Guploader-Uploadid": [
   191              "AEnB2Urf73_XAsVRj8QW985RqWViBmOcBxKd_6YfQgBRrhhb--kRqtha_z5w6r9i3boLZZw3V1u3TmLthR9Uk8jWWkXmSoZ2Ng"
   192            ]
   193          },
   194          "Body": "aGVsbG8gd29ybGQ="
   195        }
   196      },
   197      {
   198        "ID": "615034616f316ef3",
   199        "Request": {
   200          "Method": "GET",
   201          "URL": "https://storage.googleapis.com/go-cloud-blob-test-bucket/blob-for-canceled-write",
   202          "Header": {
   203            "Accept-Encoding": [
   204              "gzip"
   205            ],
   206            "User-Agent": [
   207              "go-cloud/blob/0.1.0"
   208            ]
   209          },
   210          "MediaType": "",
   211          "BodyParts": [
   212            ""
   213          ]
   214        },
   215        "Response": {
   216          "StatusCode": 200,
   217          "Proto": "HTTP/1.1",
   218          "ProtoMajor": 1,
   219          "ProtoMinor": 1,
   220          "Header": {
   221            "Accept-Ranges": [
   222              "bytes"
   223            ],
   224            "Alt-Svc": [
   225              "quic=\":443\"; ma=2592000; v=\"46,43,39\""
   226            ],
   227            "Cache-Control": [
   228              "private, max-age=0"
   229            ],
   230            "Content-Length": [
   231              "11"
   232            ],
   233            "Content-Type": [
   234              "text/plain; charset=utf-8"
   235            ],
   236            "Date": [
   237              "Fri, 09 Aug 2019 16:14:40 GMT"
   238            ],
   239            "Etag": [
   240              "\"5eb63bbbe01eeed093cb22bb8f5acdc3\""
   241            ],
   242            "Expires": [
   243              "CLEARED"
   244            ],
   245            "Last-Modified": [
   246              "Fri, 09 Aug 2019 16:14:40 GMT"
   247            ],
   248            "Server": [
   249              "UploadServer"
   250            ],
   251            "X-Goog-Generation": [
   252              "1565367280599978"
   253            ],
   254            "X-Goog-Hash": [
   255              "crc32c=yZRlqg==",
   256              "md5=XrY7u+Ae7tCTyyK7j1rNww=="
   257            ],
   258            "X-Goog-Metageneration": [
   259              "1"
   260            ],
   261            "X-Goog-Storage-Class": [
   262              "REGIONAL"
   263            ],
   264            "X-Goog-Stored-Content-Encoding": [
   265              "identity"
   266            ],
   267            "X-Goog-Stored-Content-Length": [
   268              "11"
   269            ],
   270            "X-Guploader-Customer": [
   271              "cloud-storage"
   272            ],
   273            "X-Guploader-Request-Result": [
   274              "success"
   275            ],
   276            "X-Guploader-Upload-Result": [
   277              "success"
   278            ],
   279            "X-Guploader-Uploadid": [
   280              "AEnB2UoznMPWSg9DvIPzZOPWHqMjh2M1JRhoJ5UY5RfmzWkGsPG-KkAi0oQo2lfhy4RQuMAlAyU7ejKLKXV7ai0GWRnBlNqNGA"
   281            ]
   282          },
   283          "Body": "aGVsbG8gd29ybGQ="
   284        }
   285      },
   286      {
   287        "ID": "246c565ba64d6a59",
   288        "Request": {
   289          "Method": "DELETE",
   290          "URL": "https://www.googleapis.com/storage/v1/b/go-cloud-blob-test-bucket/o/blob-for-canceled-write?alt=json\u0026prettyPrint=false",
   291          "Header": {
   292            "Accept-Encoding": [
   293              "gzip"
   294            ],
   295            "User-Agent": [
   296              "google-api-go-client/0.5 go-cloud/blob/0.1.0"
   297            ]
   298          },
   299          "MediaType": "",
   300          "BodyParts": [
   301            ""
   302          ]
   303        },
   304        "Response": {
   305          "StatusCode": 204,
   306          "Proto": "HTTP/1.1",
   307          "ProtoMajor": 1,
   308          "ProtoMinor": 1,
   309          "Header": {
   310            "Alt-Svc": [
   311              "quic=\":443\"; ma=2592000; v=\"46,43,39\""
   312            ],
   313            "Cache-Control": [
   314              "no-cache, no-store, max-age=0, must-revalidate"
   315            ],
   316            "Content-Length": [
   317              "0"
   318            ],
   319            "Content-Type": [
   320              "application/json"
   321            ],
   322            "Date": [
   323              "Fri, 09 Aug 2019 16:14:40 GMT"
   324            ],
   325            "Expires": [
   326              "CLEARED"
   327            ],
   328            "Pragma": [
   329              "no-cache"
   330            ],
   331            "Server": [
   332              "UploadServer"
   333            ],
   334            "Vary": [
   335              "Origin",
   336              "X-Origin"
   337            ],
   338            "X-Guploader-Customer": [
   339              "apiary_cloudstorage_metadata"
   340            ],
   341            "X-Guploader-Request-Result": [
   342              "success"
   343            ],
   344            "X-Guploader-Upload-Result": [
   345              "success"
   346            ],
   347            "X-Guploader-Uploadid": [
   348              "AEnB2UqVxcO-lZt5EJXKl9YERMoc2-EKZXn9a3QT8Nn5Q8YNYVLjUKps1mb0V6gJSumFEPlD1Y3j6H4ImAsTaXcw9E54TH5N-Q"
   349            ]
   350          },
   351          "Body": ""
   352        }
   353      }
   354    ]
   355  }