Xuanwo commented on issue #9285:
URL: https://github.com/apache/opendal/issues/9285#issuecomment-7224547491

   *(AI-generated note)*
   
   Checking the two current callers of `parse_multipart_boundary` (GCS and 
Azure Blob batch delete), no matching real response with a quoted `boundary` or 
a trailing parameter (such as `charset=utf-8`) was identified in the records 
checked:
   
   - **GCS:** A public wire capture of a batch delete request to 
`storage.googleapis.com` in 
[googleapis/python-storage#376](https://github.com/googleapis/python-storage/issues/376)
 shows an outer response header of `Content-Type: multipart/mixed; 
boundary=batch_9zUrlYoiGm0dzmBJ6P1WqxG3WP7pBpsw` (unquoted, no trailing 
parameter). In the [Google Cloud Storage batch 
documentation](https://cloud.google.com/storage/docs/batch), the quoted 
`boundary="..."` example is on the batch **request**, while the response 
example is `Content-Type: multipart/mixed; 
boundary=batch_pK7JBAk73-E=_AA5eFwv4m2Q=`.
   - **Azure Blob:** In the Azure .NET SDK sanitized session records at tag 
`Azure.Storage.Blobs.Batch_12.14.0`, both 
[`Delete_Basic.json`](https://github.com/Azure/azure-sdk-for-net/blob/Azure.Storage.Blobs.Batch_12.14.0/sdk/storage/Azure.Storage.Blobs.Batch/tests/SessionRecords/BlobBatchClientTests/Delete_Basic.json#L179-L181)
 and 
[`Delete_OneFails_NoThrow.json`](https://github.com/Azure/azure-sdk-for-net/blob/Azure.Storage.Blobs.Batch_12.14.0/sdk/storage/Azure.Storage.Blobs.Batch/tests/SessionRecords/BlobBatchClientTests/Delete_OneFails_NoThrow.json#L138-L140)
 record HTTP `202` responses with `Content-Type: multipart/mixed; 
boundary=batchresponse_<GUID>`, unquoted and with no trailing parameter.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to