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)
- [BUG] NoClassDefFoundError: io/netty/handler/codec/http/HttpDecoderConfig HOT 4
- [BUG] no azure-spring-data-cosmos 3.45.0 find in Maven HOT 2
- Error log from compute client sdk HOT 3
- [QUERY] How to get total count of blobs size in a container? HOT 2
- Azure Identity => ERROR in getToken() call for scopes []: Managed Identity authentication is not available. HOT 4
- [QUERY] How to catch the networking error while use the azure-stream-binder SDK HOT 3
- [BUG] azure-spring-data-cosmos Query Methods always require Criteria inappropriately HOT 4
- [BUG] EventHubConsumerAsyncClient - Connection Aborted HOT 5
- [BUG] StacklessClosedChannelException on Blob Downloads in Windows Azure Functions on Version 12.25.4 HOT 4
- [BUG] Version checking in azure-core-http-netty may encourage users to expose their app to a CVE HOT 4
- [QUERY] Service bus Delivery not on receive link error HOT 2
- ServiceBusMessageSender should refresh maximum message size when service settings change
- Create a BOM for clientcore packages
- [BUG] java sdk with version 2.34.0 throws long running operations error HOT 2
- [BUG]EventHub Consumer stops consuming messages until the consumer restated HOT 5
- [BUG] CloudEvent not compatible with schema
- Performance tests for different forms of async handling
- [Search] Refactor search tests marked as LiveOnly with latest Test proxy updates
- [FEATURE REQ] mgmt, Java SDK PolicyDefinition - Mode and Metadata HOT 1
- Add ability to pass in session ids to session processor
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.