[aerogear-dev] Controller, CORS and Headers

Bruno Oliveira bruno at abstractj.org
Fri Jan 25 13:17:03 EST 2013


Hi Dan, could you please push the sources of corscontroller or gist it?


-- 
"The measure of a man is what he does with power" - Plato
-
@abstractj
-
Volenti Nihil Difficile



On Friday, January 25, 2013 at 2:10 PM, Daniel Bevenius wrote:

> Ah, we need to add these to the CorsConfigProducer in the demo and re-deploy to openshift. 
> 
> > Den 25 jan 2013 17.04, "Kris Borchers" <kris at redhat.com (mailto:kris at redhat.com)> skrev:
> > 
> > I have been writing integration tests for the new paging functionality in AeroGear.js. When testing with against https://corscontroller-aerogear.rhcloud.com/aerogear-controller-demo, I am unable to access the headers needed to do the paging.
> > 
> > Working with Dan, I had him add the Access-Control-Allow-Headers header to the OPTIONS response but this was not enough. I believe I also need Access-Control-Expose-Headers with the same list of headers as the -Allow-Headers header added to the OPTIONS response.
> > 
> > Header, header, header, header. OK, I think I said header enough times. ;)
> > 
> > Any help would be appreciated.
> > 
> > Thanks,
> > Kris
> > _______________________________________________
> > aerogear-dev mailing list
> > aerogear-dev at lists.jboss.org (mailto:aerogear-dev at lists.jboss.org)
> > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> 
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org (mailto:aerogear-dev at lists.jboss.org)
> https://lists.jboss.org/mailman/listinfo/aerogear-dev





More information about the aerogear-dev mailing list