Skip to Content
0
Mar 05, 2021 at 06:36 AM

Cannot send HTTP Content-Type header without charset value

1450 Views

Hello Community,


I am trying to set up a http request from abap against an external server.

The Request is a Post request which hast to be the exact Content-Type 'application/jose+json'.

My abap http client is setting the header field perfectly well but SAP seems to be sending:

content-Type: "application/jose+jason; charset=utf-8".

which conflicts with the check on server side I am sending it to.

I already found a sap note which wants me to update my REST client.

https://launchpad.support.sap.com/#/notes/2456232/E

So it seems to be a common problem

The problem is I only get .SCA files and I don't get how to get them into my ABAP stack SAP System.

My setup is:

Component    Release        SP-Level    Support Package
SAP_BASIS    752            0006      SAPK-75206INSAPBASIS  
SAP_ABA      752            0006      SAPK-75206INSAPABA      
SAP_GWFND    752            0006      SAPK-75206INSAPGWFND    
SAP_UI       752            0009      SAPK-75209INSAPUI       
ST-PI        740            0013      SAPK-74013INSTPI        
SAP_BW       752            0006      SAPK-75206INSAPBW        
UIBAS001     300            0006      SAPK-30006INUIBAS001    

Thank you for anything that gets me closer to a solution.


Regards,

Robin