Skip to content

Flask: async/tuple output mappers, multi-file form fields, request size limit (#44) - #47

Merged
thorwhalen merged 2 commits into
masterfrom
fix/flask-edge-cases-44
Oct 20, 2026
Merged

thorwhalen merged 2 commits into
masterfrom
fix/flask-edge-cases-44

Conversation

@thorwhalen

Copy link
Copy Markdown
Member

Closes #44.

  • flask_response_mapper awaits an async mapper and keeps its content_type for (body, status[, headers]) tuples (unless the headers set their own).
  • A form field with several files gives the list of their bytes (one file stays bytes).
  • max_request_size now also sets Flask's MAX_CONTENT_LENGTH (None keeps today's no-limit default); werkzeug 4xx errors such as 413 keep their status.

🤖 Generated with Claude Code

thorwhalen and others added 2 commits October 20, 2026 04:23
…r form field, max_request_size -> MAX_CONTENT_LENGTH (#44)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@thorwhalen
thorwhalen merged commit b9ff98a into master Oct 20, 2026
6 checks passed
@thorwhalen
thorwhalen deleted the fix/flask-edge-cases-44 branch October 20, 2026 04:25
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.

Flask: async output mappers with content_type, several files per form field, body size limit

1 participant