Skip to content
New issue

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

Check file size before uploading #3

Open
francoischalifour opened this issue Feb 26, 2017 · 0 comments
Open

Check file size before uploading #3

francoischalifour opened this issue Feb 26, 2017 · 0 comments

Comments

@francoischalifour
Copy link
Member

We should set a size limit in the /v1/classify route to avoid storing heavy images (or even other fake files).

@francoischalifour francoischalifour self-assigned this Feb 26, 2017
francoischalifour added a commit that referenced this issue Mar 5, 2017
We need to totally abort the request when the file is too big.
Right now, the server detects that case but it still uploads the file.
@francoischalifour francoischalifour removed their assignment Mar 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant