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
Use case: from kinto-http.js, being able to attach a file coming from a dataURI (without filename).
def save_file(content, request, randomize=True, gzipped=False): folder_pattern = request.registry.settings.get('attachment.folder', '') folder = folder_pattern.format(**request.matchdict) or None # Read file to compute hash. if not isinstance(content, cgi.FieldStorage): error_msg = 'Filename is required.' raise_invalid(request, location='body', description=error_msg)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Use case: from kinto-http.js, being able to attach a file coming from a dataURI (without filename).
The text was updated successfully, but these errors were encountered: