Comments (5)
Likewise using the tool I sort of expected a "red/green" type answer!
from test-cors.org.
I'm pretty sure, @trinzia , that yours failed; otherwise, you'd have seen XHR status: 200
. But I'm not entirely sure either. I'm having an issue with a server that's failing on a plain text file, but I have no idea why. It would really be nice if this tool could be enhanced with some more troubleshooting affordances.
from test-cors.org.
Thank you for the feedback. I agree that the error condition could be better highlighted.
The tool tries to surface as much debug information as possible. However, since the request is made client-side, it actually doesn't have access to a lot of debugging information. For example, while Chrome's console will show a detailed error message as to why the CORS request failed, the XHR client can't access that information. However I can include a note that points users to the console for more error details.
from test-cors.org.
👍
from test-cors.org.
It took me quite a while googling, but I found that our server needed the module enabled for mod_headers. After requesting that, I was able to make cross-domain ajax requests with $.ajaxSetup headers.
from test-cors.org.
Related Issues (20)
- Can you update the test-cors.org website? HOT 3
- Hd lense
- Preflight HOT 1
- http://test-cors.org/ and https://test-cors.org/ are not working HOT 3
- Add a way to test Access-Control-Allow-Origin: * HOT 3
- Add the option to remove Referrer from Javascript
- Headers not being sent HOT 3
- has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- Over quota error
- Fired XHR event: error HOT 1
- pass the test. but still not pass the browser. awful! wasting time. And XMLHttpRequest is a lagacy method
- Toggling the "Enable CORS" option will not actually enable the CORS nor the Access-Control-Allow-Origin header.
- server down?
- "Enable CORS" checkbox does not work
- Compile JS code
- JS and page refers to non-existing "OPTION" method HOT 4
- Allow the Content-Type request header to be set
- Parse information HOT 1
- Improve support for XDomainRequest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from test-cors.org.