From 701f615ab39d2e71d690e4a7cce16e2ef4ebda86 Mon Sep 17 00:00:00 2001 From: Sviatoslav Hryb Date: Tue, 15 Jun 2021 21:13:29 +0300 Subject: [PATCH] Fix content negotiation description --- src/docs/asciidoc/web/webmvc.adoc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/docs/asciidoc/web/webmvc.adoc b/src/docs/asciidoc/web/webmvc.adoc index 9d0b62d28ff2..654a8c634756 100644 --- a/src/docs/asciidoc/web/webmvc.adoc +++ b/src/docs/asciidoc/web/webmvc.adoc @@ -5366,12 +5366,10 @@ The following example shows how to achieve the same configuration in XML: You can configure how Spring MVC determines the requested media types from the request (for example, `Accept` header, URL path extension, query parameter, and others). -By default, the URL path extension is checked first -- with `json`, `xml`, `rss`, and `atom` -registered as known extensions (depending on classpath dependencies). The `Accept` header -is checked second. +By default, only the `Accept` header is checked. -Consider changing those defaults to `Accept` header only, and, if you must use URL-based -content type resolution, consider using the query parameter strategy over path extensions. See +If you must use URL-based content type resolution, consider using the query parameten +strategy over path extensions. See <> and <> for more details.