Comments (9)
I think this should be fixed with unit test(s). root container is an important scenario to support.
from azure-sdk-for-java.
null value should go to root (same as empty string)
from azure-sdk-for-java.
It depends on the method, for create container, it doesn't make sense to send the create container request because the root container is already there.
from azure-sdk-for-java.
I think that null
should be the root container everywhere, and in the case of create container, the request to create the root container will fail server side.
from azure-sdk-for-java.
also for delete container, if we do not curb the request on client side, an incorrect delete container may delete the whole account in future.
from azure-sdk-for-java.
fix ready.
from azure-sdk-for-java.
actually, no, it is more complicated than it looks like.
http://msdn.microsoft.com/en-us/library/windowsazure/ee395424.aspx
from azure-sdk-for-java.
To list the blobs in the root container:
GET http://myaccount.blob.core.windows.net/$root?restype=container&comp=list
To delete the root container:
DELETE http://myaccount.blob.core.windows.net/$root?restype=container
Missed from documentation, I guess creating a root container should be
PUT http://myaccount.blob.core.windows.net/$root?restype=container
from azure-sdk-for-java.
actually, if we always specify the root container as $root, the amount code change seems to be minimum.
from azure-sdk-for-java.
Related Issues (20)
- More HTTP client support (with SSE support)
- Ensure private methods don't throw `UnhandledIOException` and instead throw `IOException`
- [OpenAI-Assistants] Support Assistant v2 API version
- Revisit default constants in `RequestOptions`, `Context`, `BinaryData` and similar classes HOT 1
- Refactor `ServerSentEventUtils`
- [OpenAI] Add support for Batch API
- [BUG] azure-storage rename takes over 2 minutes to fail (because the target file already exists) in concurrent context HOT 2
- [BUG]DiagnosticsImprovement: Adding CurrentReplicaSetSize and quorumAckedLSN
- [QUERY] Is there a way to set config for CosmosClientBuilder HOT 3
- [BUG] Azure Toolkit for IntelliJ - IntelliJCredential does not find logged in creds in keychain on Mac HOT 2
- [BUG] pom_file_version_scanner.ps1 needs better errors around misformed lines
- [BUG] container registry lisrepository names only returns 109 max HOT 1
- [BUG] ServiceBus SessionProcessorClient with negative session idle timeout throws incorrect validation error message HOT 6
- [BUG] Frequent cases with Starting lock renewal messages in log and messages are not delivered HOT 3
- ResponseBodyMode support for SSE data
- Remove `HttpPipelineNextPolicy`
- [FEATURE REQ]Add readMany support for azure-cosmos-encryption HOT 1
- [BUG] Unable to create ASB subsctiption with azure-messaging-servicebus 7.16.0 HOT 5
- Update azure-analytics-defender-easm module, reflect latest spec HOT 1
- Releease azure-ai-contentsafety module 1.1.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-java.