Revision 74c976a0

b/src/com/rackspace/cloud/files/api/client/ContainerObjectManager.java
190 190
	
191 191
	public ArrayList<ContainerObjects> createList(boolean detail,
192 192
			String passName, String prefix) throws CloudServersException {
193

  
193
		if(prefix.endsWith("/"))
194
			prefix = prefix.substring(0,prefix.length()-1);
194 195
		CustomHttpClient httpclient = new CustomHttpClient(context);
195 196
		String url = getSafeURL(Account.getAccount().getStorageUrl(), passName)
196
				+ "?format=xml&prefix="+prefix;
197
				+ "?format=xml&prefix="+prefix+"&delimiter=/";
198
		Log.i(LOG,url);
197 199
		HttpGet get = new HttpGet(url);
198 200
		ArrayList<ContainerObjects> files = new ArrayList<ContainerObjects>();
199 201

  
......
465 467
		addObject
466 468
				.addHeader("X-Auth-Token", Account.getAccount().getAuthToken());
467 469
		addObject.addHeader("Content-Type", "	text/plain; charset=UTF-8");
470
		//addObject.addHeader("Content-Type",t);
468 471
		for(Entry<String,String> entry : headers.entrySet()){
469 472
			addObject.addHeader(entry.getKey(),entry.getValue());
470 473
		}

Also available in: Unified diff