Skip to content

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

Closed

Description

@thorwhalen

Left over from #42 (items from the review of #43), split out when #42's auth/CORS/swagger part landed:

  • Under Flask an async output mapper with a content_type, or one returning a (body, status) tuple, still answers text/html (flask_response_mapper is sync and passes those through).
  • Several files under one form field keep only the first.
  • Flask reads bodies with no size limit (Bottle capped at ~100KB): set MAX_CONTENT_LENGTH / a config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions