This is supported in APIM 3.0. Thanks, Bhathiya
On Mon, Sep 23, 2019 at 3:50 PM Prakhash Sivakumar <[email protected]> wrote: > Hi Devs, > > In APIM by default we are allowing to add Access-Control-Allow-Headers in > the CORS configuration, but any reason why we don't provide a configuration > option to add Access-Control-Expose-Headers. > > Currently we have to add a outsequence like below to preserve the CORS > related response headers. shouldn't we have an OOB configuration to do this > ? > > <sequence xmlns="http://ws.apache.org/ns/synapse" > name="cors_headers_expose"> > <property name="Access-Control-Expose-Headers" value="Location" > scope="transport" type="STRING"/> > </sequence> > > Thanks, > Prakhash > > > -- > *Prakhash Sivakumar | Senior Software Engineer | WSO2 Inc* > *+94771510080 | [email protected] <[email protected]> > | https://medium.com/@PrakhashS <https://medium.com/@PrakhashS>* > -- *Bhathiya Jayasekara* | Technical Lead | WSO2 Inc. (m) +94 71 547 8185 | (e) bhathiya-@t-wso2-d0t-com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
