Giter Site home page Giter Site logo

Documentation about test-cors.org HOT 5 OPEN

monsur avatar monsur commented on May 18, 2024 6
Documentation

from test-cors.org.

Comments (5)

epugh avatar epugh commented on May 18, 2024 10

Likewise using the tool I sort of expected a "red/green" type answer!

from test-cors.org.

Klortho avatar Klortho commented on May 18, 2024 2

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.

monsur avatar monsur commented on May 18, 2024 1

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.

Klortho avatar Klortho commented on May 18, 2024

👍

from test-cors.org.

trinzia avatar trinzia commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.