Disable Transfer-Encoding in rest response header
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2022 12:47 PM - edited 12-06-2022 12:54 PM
Third party application want to disable Transfer-Encoding as 'chunked' in rest response header from ServiceNow.
I have tried with "response.setHeaders" in scripted rest api also tried creating new headers in the table - sys_response_header and updating the property- glide.http.headers_config.enabled property to false but still the response contains 'Transfer-Encoding" as "chunked".
Also how to add 'content-length' in response header please.
Any suggestions to remove 'transfer-encoding' from rest response would be highly appreciated.
0 REPLIES 0