Skip to content

Avoid cgi FieldStorage for uploads#2

Draft
Mirochill wants to merge 1 commit into
destrangis:masterfrom
Mirochill:fix-1-drop-cgi-fieldstorage
Draft

Avoid cgi FieldStorage for uploads#2
Mirochill wants to merge 1 commit into
destrangis:masterfrom
Mirochill:fix-1-drop-cgi-fieldstorage

Conversation

@Mirochill
Copy link
Copy Markdown

Summary

  • replace cgi.FieldStorage with standard-library multipart parsing helpers
  • keep multipart uploads streaming file data to disk by chunks
  • keep direct request-body uploads unchanged

Fixes #1

Validation

  • Not run locally
  • git diff --check HEAD~1..HEAD
  • rg 'cgi|FieldStorage' (no matches in the project files)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

module cgi has been removed in python 3.13

1 participant