-
Notifications
You must be signed in to change notification settings - Fork 3.3k
azure core needs to expose a way to return raw data in streaming #17145
Copy link
Copy link
Closed
Labels
Azure.CoreClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.feature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.
Milestone
Description
- Now we are calling into requests library and the default behavior is we de-compress the data if there is a "transfer-encoding' header or "content-encoding" header.
- In storage SDK, if user wants to download a big file from blob, storage sdk splits it into multiple 4m chunks.
Here is the broken case:
User uploads a big (>4m) gzipped file into blob and sets the content-encoding to gzip then he/she calls storage sdk to download the file.
Storage SDK splits it into multiple requests, for the non-first request, azure-core recognizes the "content-encoding" header and tries to decompress the stream -- fail
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Azure.CoreClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.feature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.