Hi all,

IOT backend server gives Content-length header of the response as expected,
But Issue is arisen while passing it through the API Gateway,
Content-Length of the response header is missing. We have already created
 a public JIRA [1]
for the issue in APIM 2.1.0 RC1.
Since the issue is affected only for few of APIS, We are trying to add some
custom sequence (outSequence) by creating per API Extensions [2].

<outSequence>
            <property name="FORCE_HTTP_CONTENT_LENGTH" scope="axis2"
value="true"/>
            <property name="COPY_CONTENT_LENGTH_FROM_INCOMING" value="true"
scope="axis2"/>
            <send/>
 </outSequence>

[1] https://wso2.org/jira/browse/APIMANAGER-5573
[2] https://docs.wso2.com/display/AM1100/Adding+Mediation+Extensions


Thanks
Hasunie

-- 
*Hasunie Adikari*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
blog http://hasuniea.blogspot.com
Mobile:+94713350904 <+94%2071%20335%200904>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to