Migration Guide : Migrating from Version 7.5 : Change to SstHttpServletRequest>>#getContentType
Change to SstHttpServletRequest>>#getContentType
Reason for change
SstHttpServletRequest>>#getContentType did not conform to the definition of this interface in Java Servlet Specification 2.4, SRV.14.2.16.1, getContentType() which states that the method should return “a String containing the name of the MIME type of the request, or null if the type is not known.”
Prior to V8.0, SstHttpServletRequest>>#getContentType returned the entire contents of the Content-Type field of the header (for example text/html; charset=ISO-8859-4) rather than just the MIME type (for example text/html).
Change
SstHttpServletRequest>>#getContentType now returns just the MIME type (for example text/html).
Action required
If your application expects to receive the MIME type and parameters (such as charset=ISO-8859-4) from SstHttpServletRequest>>#getContentType, you will need to modify your application to account for this change.
Last modified date: 07/02/2019