Kishore,
Are you saying that ISAM is changing the content-type header and causing application break?
Or are you saying that client is sending incorrect content-type header and you want ISAM to change it as it flows through?
If you want ISAM to change a header, this should be possible using transformation rules. This presentation should help:
https://www.ibm.com/support/pages/sites/default/files/support/swg/swgdocs.nsf/0/ef18d159f48a4a8f85258131005a545b/%24FILE/OpenMic-HTTP_Transformation_Rules-17Oct2017-V2.pdfJon.
------------------------------
Jon Harry
Consulting IT Security Specialist
IBM
------------------------------
Original Message:
Sent: Thu February 25, 2021 04:58 PM
From: NANDA KISHORE GUTHI
Subject: 500 http error : Header Error for 'Content-Type': 'application/json;charset=utf-8' | Expected 'Content-Type': 'application/json'
Hello Team,
We have an issue with one of the application, where it is expecting header Content-Type as "application/json" where as application team is receiving it as "application/json;charset=UTF-8" when there is a POST for applciaiton rest services.
Is there any way if we can override/replace Content-Type header when method is post and content type is "application/json;charset=UTF-8" (ignore case) to "application/json" from ISAM end? If yes, Please advise!
Thanks in advance,
Kishore
------------------------------
NANDA KISHORE GUTHI
------------------------------