Giter Site home page Giter Site logo

iron-cors's People

Contributors

fabricedesre avatar ferjm avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

iron-cors's Issues

Needs README.md

We should write documentation for this plugin as could be useful for many projects not just foxbox related.

Respond with 200 OK to unhandled OPTIONS request

11:36 PM fabrice: does CORS really work for you on the latest master? Looks like macroses in taxonomy router should be updated as well to allow OPTIONS
11:39 PM <•fabrice> azasypkin: CORS setup is in https_server.rs
11:39 PM azasypkin: I'm too lazy to authenticate so I just disable it at build time
11:39 PM fabrice: yeah, but it wasn't enough even for previous router - it always returned OK response on OPTIONS
11:40 PM inside service_router
11:40 PM <•fabrice> azasypkin: so how did we fix the previous one?
11:40 PM fabrice: https://github.com/fxbox/foxbox/blob/master/src/service_router.rs#L41-L44
11:40 PM <•fabrice> azasypkin: they both use https://github.com/fxbox/iron-cors/
11:41 PM <•fabrice> oh
11:41 PM <•fabrice> this CORS stuff is all over the place :(
11:41 PM yeah, it should be only in a single place

This should allow to have all the CORS stuff managed by iron-cors

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.