[aerogear-dev] Controller, CORS and Headers

Daniel Bevenius daniel.bevenius at gmail.com
Fri Jan 25 13:50:59 EST 2013


Hey Bruno,

absolutely, here it is : https://gist.github.com/4636839

I'll create a branch for this upstream on Monday with the changes so that
we have them for future releases. At the moment the corscontroller does not
differ from the normal controller demo.




On 25 January 2013 19:17, Bruno Oliveira <bruno at abstractj.org> wrote:

> 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
>
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130125/cbb5c9a0/attachment.html 


More information about the aerogear-dev mailing list