Question

4
Replies
719
Views
IMURPALVICKY Member since 2013 27 posts
Tata Consultancy Services
Posted: 3 years ago
Last activity: 3 years 2 months ago
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 SR Created
Moderation Team has archived post
Share this page LinkedIn