From b661889b622601fa92d77ffa8d72490b8c759f66 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 16 Sep 2026 17:46:16 -0700 Subject: [PATCH] Adjust headings so Request object has three sub-headings --- docs/internals.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/internals.rst b/docs/internals.rst index 60e0ed97..ca07c038 100644 --- a/docs/internals.rst +++ b/docs/internals.rst @@ -147,7 +147,7 @@ And a class method that can be used to create fake request objects for use in te .. _internals_multiparams: The MultiParams class -===================== +--------------------- ``request.args`` is a ``MultiParams`` object - a dictionary-like object which provides access to query string parameters that may have multiple values. @@ -177,7 +177,7 @@ Consider the query string ``?foo=1&foo=2&bar=3`` - with two values for ``foo`` a .. _internals_formdata: The FormData class -================== +------------------ ``await request.form()`` returns a ``FormData`` object - a dictionary-like object which provides access to form fields and uploaded files. It has a similar interface to ``MultiParams``. @@ -205,7 +205,7 @@ The FormData class .. _internals_uploadedfile: The UploadedFile class -====================== +---------------------- When parsing multipart form data with ``files=True``, file uploads are returned as ``UploadedFile`` objects with the following properties and methods: