I have…
- Read the following guideline: Troubleshooting and Support | Squidex. I understand that my support request might get deleted if I do not follow the guideline.
- Used code blocks with ``` to format my code examples like JSON or logs properly.
I’m submitting a…
- Regression (a behavior that stopped working in a new release)
- Bug report
- Performance issue
- Documentation issue or request
Environment
- Self hosted with docker
- Self hosted with IIS
- Self hosted with other version
- Cloud version
Version: 7.21.1
Browser:
- Chrome (desktop)
Others:
- etag header
https://cloud.squidex.io/api/assets/8b381f48-69af-40d1-baff-9d1fb9776f8d
Why is the etag header response coming back as 0?
**content-length**: 8130292
**content-type**: application/octet-stream
**date**: Mon, 01 Dec 2025 12:25:26 GMT
**accept-ranges**: bytes
**cache-control**: public,max-age=60
**etag**: 0
**vary**: Auth-State
**content-security-policy**: script-src 'none'
**content-disposition**: inline; filename="@BAKE.glb"; filename*=UTF-8''%40BAKE.glb
- Upload the asset and return the content-type as desired.
When uploading assets, I’d like to receive a content-type response for a specific file.
I need to determine the content-type to respond with when uploading an asset.
Is there a way to solve this problem?
For non-standard asset files, such as gltf or glb,
the limitation is that the file is limited to application/octet-stream.
The gltf file expects a response of model/gltf+json, and the glb file expects a response of model/gltf-binary.