My Oracle Support Banner

Satellite Server Returns Different Content-Type Header Than WebCenter Sites: e.g. text/html Instead of application/json (Doc ID 2637857.1)

Last updated on APRIL 03, 2023

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

Satellite Server Returns Different Content-Type Header Than WebCenter Sites

When calling a page that returns a specific Content-Type (e.g. application/json) from WebCenter Sites, it returns as expected.
e.g. http://examplehost:7003/sites/ContentServer?pagename=ExampleSite/TestPage

Content-Type: application/json; charset=utf-8

However, when calling the page via Satellite Server:
e.g. http://examplesatellitehost:7003/ss/Satellite?pagename=ExampleSite/TestPage, it does not return the same Content-Type:

Content-Type: text/html; charset=utf-8

Test case: Using RENDER.CALLTEMPLATE with ICS.STREAMHEADER to Set Content-Type Does not Work When STYLE='pagelet': com.fatwire.satellite.page output in page

1) Created new Template to set the header:
   - Name: StreamHeaderTest
- For Asset Type: Any
- Element:
    - Usage: Element defines a whole HTML page and can be called externally
- XML
- Element Logic:

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.