From 83b747c7c66fd3d72d00d8c1a6d3596622c769f6 Mon Sep 17 00:00:00 2001 From: Joel Kaasinen Date: Thu, 16 Mar 2023 09:39:34 +0200 Subject: [PATCH] doc: mention :multipart in doc/ring/coercion.md --- doc/ring/coercion.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/ring/coercion.md b/doc/ring/coercion.md index 930c10df..8de57c1a 100644 --- a/doc/ring/coercion.md +++ b/doc/ring/coercion.md @@ -4,14 +4,15 @@ Basic coercion is explained in detail [in the Coercion Guide](../coercion/coerci The following request parameters are currently supported: -| type | request source | -|------------|--------------------------------------------------| -| `:query` | `:query-params` | -| `:body` | `:body-params` | -| `:request` | `:body-params`, allows per-content-type coercion | -| `:form` | `:form-params` | -| `:header` | `:header-params` | -| `:path` | `:path-params` | +| type | request source | +|--------------|--------------------------------------------------| +| `:query` | `:query-params` | +| `:body` | `:body-params` | +| `:request` | `:body-params`, allows per-content-type coercion | +| `:form` | `:form-params` | +| `:header` | `:header-params` | +| `:path` | `:path-params` | +| `:multipart` | `:multipart-params`, only properly supports `clojure.spec`, see [Default Middleware](default_middleware.md) | To enable coercion, the following things need to be done: