CORS Headers
Lopresti, Edmund
loprestie at upmc.edu
Wed Mar 30 08:59:58 EDT 2016
Sorry, you're right. I'm accessing a web server that provides an interface to OpenSlide, and I was getting the scope of OpenSlide and the web server confused. I see that providing an Access-Control-Allow-Origin header would be the responsibility of the web server. I'm retrieving OpenSlide images from that remote server and then trying to work with the canvas, but the canvas has been "tainted" by retrieving the images cross-origin. I can set the cross-origin policy to anonymous on my end, but I'll have to see whether the web server can provide the appropriate headers.
Ed
From: openslide-users [mailto:openslide-users-bounces+loprestie=upmc.edu at lists.andrew.cmu.edu] On Behalf Of Alvaro Gonzalez via openslide-users
Sent: Tuesday, March 29, 2016 6:45 PM
To: openslide-users at lists.andrew.cmu.edu
Subject: Re: CORS Headers
I'd say your webserver is in charge of that. What are you trying to do?
El 29/3/16 a las 20:42, Lopresti, Edmund via openslide-users escribió:
Is it possible to set OpenSlide to return an Access-Control-Allow-Origin header to support requesting OpenSlide images from a server at an external domain without running into CORS security issues?
Thanks,
Ed LoPresti
_______________________________________________
openslide-users mailing list
openslide-users at lists.andrew.cmu.edu<mailto:openslide-users at lists.andrew.cmu.edu>
https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20160330/91e0ded3/attachment.html>
More information about the openslide-users
mailing list