-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
API Spec link
Line 708 in efa49a1
| "operationId": "Container_Create", |
API Spec version
2025-11-05
Describe the bug
Azure Blobstorage Container_Create needs the header Content-Length set to 0, although the body is empty. Otherwise the api will return 411 Length Required
Expected behavior
No error
Actual behavior
411 Length Required
Reproduction Steps
POST [{BLOB_STORAGE_URL}](https://myaccount.blob.core.windows.net)/mycontainer?restype=container
Authorization: Bearer ...
Date: Sun, 25 Sep 2011 22:50:32 GMT
x-ms-version: 2025-07-05
Environment
Real BlobStorage, Azurite is generated from the spec and will accept the request without Content-Length header.
See: Azure/Azurite#2618
Metadata
Metadata
Assignees
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that