This commit exposes the method that returns the media type used to write
forms. By default, it includes the charset in the content type, which
can cause issues with certain consumers. This commit changes the method
from a private to a protected method, so that users can override the
default behavior.
Closes: gh-22971
@ -384,7 +384,7 @@ public class FormHttpMessageConverter implements HttpMessageConverter<MultiValue
@@ -384,7 +384,7 @@ public class FormHttpMessageConverter implements HttpMessageConverter<MultiValue
@ -402,15 +402,27 @@ public class FormHttpMessageConverter implements HttpMessageConverter<MultiValue
@@ -402,15 +402,27 @@ public class FormHttpMessageConverter implements HttpMessageConverter<MultiValue