tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andriy Redko <drr...@gmail.com>
Subject Re: Enabling CORS
Date Fri, 27 Mar 2015 22:02:28 GMT

Hi Tyler,

You need to add CrossOriginResourceSharingFilter to the list of providers for your server.
Please let me know if you need help with that, the way to add it depends on a way you configure
the server.

Best Regards, 
    Andriy Redko

TP> Hi Folks,

TP> I'm trying to enable CORS on a few of Tika's Server resources. But, after
TP> adding the pom.xml dependency and a

TP>     @CrossOriginResourceSharing(
TP>         allowOrigins = {"url"}
TP>     )

TP> annotation to the resources, the Access-Control-Allow-Origin header is
TP> still not given.

TP> Is there another configuration I need to add? Tika's server doesn't
TP> currently have a bean configuration like at the bottom of the examples page
TP> <http://cxf.apache.org/docs/jax-rs-cors.html#JAX-RSCORS-Examples>.

TP> Thanks for any help,
TP> Tyler

View raw message