Is there a way to configure GAE to serve static files including 'Access-Control-Allow-Origin' HTTP header in response?

146 views
Skip to first unread message

Juna

unread,
Jan 24, 2012, 5:15:11 AM1/24/12
to google-a...@googlegroups.com
Hi all, 

We have a browsers plugin (something very similar to Amazon Universal Wish List Button) which shows a panel on other web pages when executed. This panel request some fonts to our GAE server and these fonts are static files. Works great except for Internet Explorer 9 which requires adding the "Access-Control-Allow-Origin" HTTP header in response, if not, response is not accepted by the browser (because resources are coming from other place, our server, instead of the page the user is in that moment).

Would be great to know if there are any way to force GAE to server static files adding this HTTP header in response. Main solution will be serving this static files from a servlet where I can set this header, but then it may be necessary to initialize a new instance and all the process. So, any other solution? 
Thanks in advance.

Barry Hunter

unread,
Jan 24, 2012, 7:49:48 AM1/24/12
to google-a...@googlegroups.com
Sounds like you should add it as a feature request
http://code.google.com/p/googleappengine/issues/list

Don't forget to add a link to this thread. - so interested parties
that fnd this thread, can star the request :)

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/MgJ0zmYhDekJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.

Juna

unread,
Jan 24, 2012, 10:17:09 AM1/24/12
to google-a...@googlegroups.com
Feature requested and here is the link :)

Reply all
Reply to author
Forward
0 new messages