AnsweredAssumed Answered

STAND_IN behaviour, content-type lost ?

Question asked by Benoit_B on Oct 12, 2017
Latest reply on Oct 16, 2017 by Benoit_B

Hi Team,

 

I used a VS with STAND_IN behaviour which lose content-type in some cases.

- on request with response in VSI file, content-type is ok (application/json)

- on request with response from live invocation, status = 200 and body lenght >0, content-type is ok (application/json)

- on request with response from live invocation, status = 200 and body lenght = 0, content-type is ko (application)

 

But the content-type from live invocation is application/json even if body lenght = 0.

What can I do in order to keep the content-type from the live invocation ?

 

Best regards,

Outcomes