[teiid-issues] [JBoss JIRA] (TEIID-4366) Provide CORS support on OData Service
Ramesh Reddy (JIRA)
issues at jboss.org
Fri Oct 21 11:14:00 EDT 2016
[ https://issues.jboss.org/browse/TEIID-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13310465#comment-13310465 ]
Ramesh Reddy commented on TEIID-4366:
-------------------------------------
[~jdurani] and [~jolee] I found in my testing that SDK's _HttpURLConnection _ blocks the setting of the ORIGIN header, thus the issue you report. I think even the CXF HttpClient deep underneath also uses _HttpURLConnection_ The test needs to avoid using this class, I have not spent time figuring out how to do that in JAVA, may be you can try CURL or some perl/python script? As you see above in one of the comments, I used the anjular.js java script for testing.
> Provide CORS support on OData Service
> -------------------------------------
>
> Key: TEIID-4366
> URL: https://issues.jboss.org/browse/TEIID-4366
> Project: Teiid
> Issue Type: Enhancement
> Components: OData
> Affects Versions: 8.12
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Labels: Alpha3
> Fix For: 9.1, 9.0.4, 8.12.7.6_3
>
>
> Good write up CORS can be found here https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
> OData needs to implement CORS support to be valuable with java script based client development technologies.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the teiid-issues
mailing list