Skip to content
New issue

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

Update File.rst #20484

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion reference/constraints/File.rst
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,14 @@ You can find a list of existing mime types on the `IANA website`_.
The message displayed if the extension of the file is not a valid extension
per the `extensions`_ option.

.. include:: /reference/constraints/_parameters-mime-types-message-option.rst.inc
==================== =============================================================
Parameter Description
==================== =============================================================
``{{ file }}`` Absolute file path
``{{ limit }}`` Maximum file size allowed
``{{ extension }}`` The extension of the given file
``{{ extensions }}`` The list of allowed file extensions
==================== =============================================================

``mimeTypesMessage``
~~~~~~~~~~~~~~~~~~~~
Expand Down
Loading