Which service(blob, file, queue, table) does this issue concern?
blob
Which version of the Azurite was used?
0bf58610baaf
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
DockerHub
What's the Node.js version?
The one you bundled with the docker image ;)
What problem was encountered?
The error message for a missing content-length header is different from azure.
411 is documented here: https://learn.microsoft.com/en-us/rest/api/storageservices/put-block
Steps to reproduce the issue?
Send a put block request to azurite blob and omit the content-lenght header.
=> Response with status code 400 / Bad Request
Send a put block request to azure blob and omit the content-lenght header.
=> Response with status code 411 / Content-Length HTTP header is missing.
Have you found a mitigation/solution?
Send a content-length header ;)
Which service(blob, file, queue, table) does this issue concern?
blob
Which version of the Azurite was used?
0bf58610baaf
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
DockerHub
What's the Node.js version?
The one you bundled with the docker image ;)
What problem was encountered?
The error message for a missing content-length header is different from azure.
411 is documented here: https://learn.microsoft.com/en-us/rest/api/storageservices/put-block
Steps to reproduce the issue?
Send a put block request to azurite blob and omit the content-lenght header.
=> Response with status code 400 / Bad Request
Send a put block request to azure blob and omit the content-lenght header.
=> Response with status code 411 / Content-Length HTTP header is missing.
Have you found a mitigation/solution?
Send a content-length header ;)