Giter Club home page Giter Club logo

Comments (4)

alexframe avatar alexframe commented on July 16, 2024 1

Was there any progress with this?

from azurite.

edwin-huber avatar edwin-huber commented on July 16, 2024

We are currently looking at the way we are handling errors and responses, and this is definitely related.
I shall write a test case, as we definitely want to support this azure-storage-node call, and we shall sort it out.
@pdressel please sync with me 😉

from azurite.

frenchzed avatar frenchzed commented on July 16, 2024

I think this is to be related to the fact that the error response has an incorrect content type (text/html):

HTTP/1.1 404 Not Found
X-Powered-By: Express
Content-Type: text/html; charset=utf-8
Content-Length: 135
ETag: W/"87-b2+fEFOsQRVwbcQHbVVBYSt732w"
Date: Sat, 17 Nov 2018 03:56:44 GMT
Connection: keep-alive

If you look at azure-storage library, it clearly expect application/xml or else it doesn't even bother parsing the reponse, therefore not mapping response code properly:

https://github.com/Azure/azure-storage-node/blob/0557d02cd2116046db1a2d7fc61a74aa28c8b557/lib/common/services/storageserviceclient.js#L888

from azurite.

frenchzed avatar frenchzed commented on July 16, 2024

@alexframe, #116 should fix your issue.

from azurite.

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.