We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e072f2 commit 1523c22Copy full SHA for 1523c22
functions/http/main.py
@@ -85,6 +85,9 @@ def parse_multipart(request):
85
# This code will process each file uploaded
86
files = request.files.to_dict()
87
for file_name, file in files.items():
88
+ # Note: GCF may not keep files saved locally between invocations.
89
+ # If you want to preserve the uploaded files, you should save them
90
+ # to another location (such as a Cloud Storage bucket).
91
file.save(get_file_path(file_name))
92
print('Processed file: %s' % file_name)
93
0 commit comments