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 NOVEMBER 04, 2016

Applies to:

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


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'.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms