Question

Tata Consultancy Services
IN
Last activity: 14 Aug 2017 4:06 EDT
Using 7.1.5 version in attachment/Multipart form service REST request header boundary is not set
Hi All,
I am using 7.1.5 version we are trying to send multipart/form data response in our SERVICE REST. Unfortunately the boundary value is not set in Response header. The Response have boundary properly enclosed all the different format responses. can you please let me why the Response header is not set. Thanks in advance
-
Connection:Keep-Alive
-
Content-Language:en-US
-
Content-Type:multipart/form-data;
-
Date:Mon, 15 May 2017 10:45:24 GMT
-
Keep-Alive:timeout=10, max=100
-
Set-Cookie:Pega-RULES=HCA5CC554691D531A41CDA76FC9201B25; Path=/prweb
-
Transfer-Encoding:chunked
--I3MOBzJ1FQDFd99dlXaXxQUY9VX2Q1
Content-Disposition: form-data; name="postData"
Content-Type: application/xml; charset=US-ASCII
Content-Transfer-Encoding: 8bit
<?xml version="1.0"?>
Hi All,
I am using 7.1.5 version we are trying to send multipart/form data response in our SERVICE REST. Unfortunately the boundary value is not set in Response header. The Response have boundary properly enclosed all the different format responses. can you please let me why the Response header is not set. Thanks in advance
-
Connection:Keep-Alive
-
Content-Language:en-US
-
Content-Type:multipart/form-data;
-
Date:Mon, 15 May 2017 10:45:24 GMT
-
Keep-Alive:timeout=10, max=100
-
Set-Cookie:Pega-RULES=HCA5CC554691D531A41CDA76FC9201B25; Path=/prweb
-
Transfer-Encoding:chunked
--I3MOBzJ1FQDFd99dlXaXxQUY9VX2Q1
Content-Disposition: form-data; name="postData"
Content-Type: application/xml; charset=US-ASCII
Content-Transfer-Encoding: 8bit
<?xml version="1.0"?>
<pagedata>
</pagedata>
--I3MOBzJ1FQDFd99dlXaXxQUY9VX2Q1
Content-Disposition: form-data; name="TestFile.ZIP"; filename="TestFile.ZIP"
Content-Type: application/octet-stream; charset=ISO-8859-1
Content-Transfer-Encoding: binary
=================
Binary content
==================
--I3MOBzJ1FQDFd99dlXaXxQUY9VX2Q1
Content-Disposition: form-data; name="report.txt"; filename="report.txt"
Content-Type: application/octet-stream; charset=ISO-8859-1
Content-Transfer-Encoding: binary
Report exported successfully
--I3MOBzJ1FQDFd99dlXaXxQUY9VX2Q1-
***Updated by moderator: Lochan to add SR details***