We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Check Content-Type prior to upload:
application/octet-stream
No alternatives.
The text was updated successfully, but these errors were encountered:
web: Ensure Content-Type correctness
0849a25
forbid executable files and set octet-stream for others closes #125 Signed-off-by: Mikhail Petrov <[email protected]>
Successfully merging a pull request may close this issue.
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
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:
application/octet-stream
type which works fine for most purposesDescribe alternatives you've considered
No alternatives.
The text was updated successfully, but these errors were encountered: