-
-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Labels
type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server and the Parse Flutter SDK.
Issue Description
When we save files with ParseXFile(XFile.fromData(bytes), name: 'myimage.jpg'), it is sent with content-type: [application/octet-stream] and the SDK is not able to get correct content type.
Steps to reproduce
Upload an image and see the http request, also preview in parse dashboard. When you open the image link it starts to download immediately instead of previews it. Because it is saved with wrong content type.
Actual Outcome
Images are saved with content-type: [application/octet-stream].
Expected Outcome
Images should be saved with correct content type, when file name is provided.
Environment
Parse Flutter SDK
- SDK version:
8.0.1 - Flutter version:
all - Dart version:
all - Operating system version:
all
Server
- Parse Server version:
all
Logs

Copilot
Metadata
Metadata
Assignees
Labels
type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed