Skip to content

Ensure Content-Type correctness #125

Closed
@roman-khimov

Description

@roman-khimov

Is your feature request related to a problem? Please describe.

I'm always frustrated when frontend returns obscure errors for simple requests. Uploading a binary file can result in

"writer close: status: code = 2048 message = access to object operation denied"

in cases where we know the request will fail in advance. One of such cases is missing/wrong Content-Type.

Describe the solution you'd like

Check Content-Type prior to upload:

Describe alternatives you've considered

No alternatives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I3Minimal impactS4RoutineU4Nothing urgentenhancementImproving existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions