My Oracle Support Banner

How To Add A Specific Content-Type Header To An Incoming Request On OHS If The Header Does Not Already Exist And The Request Is For A Specific Type Of Resource. (Doc ID 2036052.1)

Last updated on SEPTEMBER 09, 2024

Applies to:

Oracle HTTP Server - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Goal

How to add a specific 'Content-type' header to an incoming request on OHS, if the header does not already exist and the request is for a specific type of resource.

For example, if a request for a '.html' resource doesn't already contain a 'Content-type' header, add the header and set it to 'text/html'.
 

Solution

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
Goal
Solution


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