-
Notifications
You must be signed in to change notification settings - Fork 363
Open
Labels
alignmentAlignment between Azurite with Azure Storage productionAlignment between Azurite with Azure Storage productionblob-storage
Description
Hello there, I noticed that a Content-Length header is required for creating a container. This validation is not included in azurite and will only happen on a "real" blob storage.
This is the api I am talking about:
https://learn.microsoft.com/en-us/rest/api/storageservices/create-container?tabs=microsoft-entra-id
Although the request has no body, a real blobstorage returns 411 Length Required when the Content-Length: 0 header is not present. Azurite is fine without the header.
Maybe consider adding this validation also to azurite to keep it at close as possible to a real storage.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
alignmentAlignment between Azurite with Azure Storage productionAlignment between Azurite with Azure Storage productionblob-storage