Resolve Content-Type Mismatch for SuiteCommerce with Extensions
These patch instructions only apply if you have developed custom extensions for your SuiteCommerce website that include custom SSPs. If you have an implementation of SuiteCommerce without custom extensions, there is nothing you need to do.
If your SuiteCommerce website uses a custom extension with a custom SSP, follow these instructions to confirm your SSPs are correctly set up.
-
Review your custom SSPs to confirm that the Content-Type set in the response header matches the content returned.
-
If no Content-Type is set, you will need to define the correct one for your custom SSP.
-
Make sure the services you created to handle http requests follow best practices. See Create and Use SSP Applications
If your services are not following best practice, you should extend ServiceController. See Create a Service to Handle HTTP Requests.