Hi Hasunie It would be ideal if we can enable this only for the specific APIs but the way IoT publisher's the APIs it will be hard to achieve.
Thanks Jo On Wed, Jan 11, 2017 at 4:18 AM, Hasunie Adikari <[email protected]> wrote: > 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> > -- -- *Joseph Fonseka* WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 772 512 430 skype: jpfonseka * <http://lk.linkedin.com/in/rumeshbandara>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
