Giter VIP home page Giter VIP logo

Comments (5)

zakelfassi avatar zakelfassi commented on August 25, 2024

It appears this comes from c147d89 / https://github.com/manshar/manshar/blob/master/web-client/app/scripts/app.js#L213
@mkhatib : can you confirm this is related? This is CORS related.
@donbassa : did you try on Firefox?

from manshar.

donbassa avatar donbassa commented on August 25, 2024

@zakelfassi Firefox works great. maybe its a problem from my Chrome ?

from manshar.

zakelfassi avatar zakelfassi commented on August 25, 2024

Nope; Just Chrome having more strict rules on what an XMLHttpRequest can and cannot send.
The line I referred above (213) forces the setting of an "Accept-Encoding" header. Which, I believe, is the source of the problem.

from manshar.

mkhatib avatar mkhatib commented on August 25, 2024

The error is unrelated to the in-ability to upload as far as I can tell.

I see the problem on a lot of requests and we might need to be picky on what requests we set accept encoding or we are using the wrong header not sure. I haven't researched this, but I don't think this is why you are unable to upload.

Have you tried again on Chrome and faced the same error?

from manshar.

mkhatib avatar mkhatib commented on August 25, 2024

This should have been fixed and we no longer set the header on all requests. Please re-open if you're still seeing this.

from manshar.

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.