appwrite / sdk-for-flutter

[READ-ONLY] Official Appwrite Flutter SDK 💙
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
369 stars 110 forks source link

🐛 Bug Report: Add image/webp accept header to file preview request #184

Open Andree98 opened 1 year ago

Andree98 commented 1 year ago

👟 Reproduction steps

Calling the storage file preview endpoint with output=webp doesn't work unless I manually add a image/webp accept header

👍 Expected behavior

The image should come in webp format

👎 Actual Behavior

The file comes in the original format (jpeg)

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Linux

🧱 Your Environment

appwrite: ^11.0.1

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?

lohanidamodar commented 11 months ago

@Andree98 Thank you for reporting the issue. We will look into it.

stnguyen90 commented 8 months ago

Related: https://github.com/appwrite/appwrite/issues/6976