Asset delivery API does not respect client compression preferences

The asset delivery API randomly delivers gzipped data and non-gzipped data, regardless of your headers regarding compression.

Side note: The Content-Type header indicates that Roblox is sending application/octet-stream, when it is actually sending XML.

Expected behavior

The asset delivery API should respect the Accept-Encoding header.

Forgive me if this is under the wrong category, but I figured it should get to the right team anyway.

1 Like

Hi Jack, Please could you share the url you are trying to call on assetdelivery API and how you’re calling it?

What you are expecting as a response and what you are getting back ?

https;//assetdelivery.roblox.com/v1/asset and the CDN link returned by https;//assetdelivery.roblox.com/v2/asset both seem to randomly return gzipped and non-gzipped content based on asset ID.