Question

4
Replies
732
Views
Close popover
Viknesh S (IMURPALVICKY)
Tata Consultancy Services

Tata Consultancy Services
IN
IMURPALVICKY Member since 2013 27 posts
Tata Consultancy Services
Posted: May 15, 2017
Last activity: August 14, 2017
Closed
Solved

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

Response Header
  1. Connection:
    Keep-Alive
  2. Content-Language:
    en-US
  3. Content-Type:
    multipart/form-data;
  4. Date:
    Mon, 15 May 2017 10:45:24 GMT
  5. Keep-Alive:
    timeout=10, max=100
  6. Set-Cookie:
    Pega-RULES=HCA5CC554691D531A41CDA76FC9201B25; Path=/prweb
  7. 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***

Data Integration Support Case Created
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.