You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Fabian Christ (Commented) (JIRA)" <ji...@apache.org> on 2012/03/15 08:43:48 UTC

[jira] [Commented] (STANBOL-105) Support Multi-Site Scripting via Cross-Origin Resource Sharing

    [ https://issues.apache.org/jira/browse/STANBOL-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229959#comment-13229959 ] 

Fabian Christ commented on STANBOL-105:
---------------------------------------

I have added CORS support for the FactStore.
                
> Support Multi-Site Scripting via Cross-Origin Resource Sharing
> --------------------------------------------------------------
>
>                 Key: STANBOL-105
>                 URL: https://issues.apache.org/jira/browse/STANBOL-105
>             Project: Stanbol
>          Issue Type: New Feature
>          Components: Enhancer, Entity Hub, KReS, Reasoners, Reengineer, Rules
>            Reporter: Rupert Westenthaler
>
> See http://www.w3.org/TR/cors/ for the specification and
> https://developer.mozilla.org/En/HTTP_Access_Control describes a nice description with examples.
> basically if http://example.com needs to request the stambol server running at http://stanbol.demo.org
> than the header will include
>   GET /resources/public-data/ HTTP/1.1
>   Host: http://stanbol.demo.org
>   Accept: application/rdf+json
>   Origin: http://example.com
> and the response needs to include
>   Access-Control-Allow-Origin: *
> telling the browser that it can use the returned data with any other domain.
> For requests other than GET and POST (with content types != application/x-www-form-urlencoded, multipart/form-data, or text/plain) one need to use Preflighted requests (something  more complex because is requires the use of an additional OPTIONS request).
> This would be an replacement for the request to implement JSONP. In addition it is based on an official specification by W3C and it supports all HTTP request types.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira