Loading src/com/owncloud/android/lib/resources/files/LightReadFolderRemoteOperation.java +3 −3 Original line number Diff line number Diff line Loading @@ -34,7 +34,9 @@ import com.owncloud.android.lib.common.operations.RemoteOperationResult; import com.owncloud.android.lib.common.utils.Log_OC; import com.owncloud.android.lib.resources.files.model.RemoteFile; import org.apache.commons.httpclient.Header; import org.apache.commons.httpclient.HttpStatus; import org.apache.commons.httpclient.params.HttpParams; import org.apache.jackrabbit.webdav.DavConstants; import org.apache.jackrabbit.webdav.MultiStatus; import org.apache.jackrabbit.webdav.client.methods.PropFindMethod; Loading Loading @@ -95,9 +97,7 @@ public class LightReadFolderRemoteOperation extends RemoteOperation { query = new PropFindMethod(client.getWebdavUri() + WebdavUtils.encodePath(mRemotePath), WebdavUtils.getMinimumPropSet(), // PropFind Properties this.depth); //query.setQueryString(new NameValuePair[]{new NameValuePair("format", "json")}); Log.d("ReadFolderRemoteOp", "Display query: "+query.toString() ); query.setRequestHeader("Accept-Encoding", "gzip,deflate"); int status = client.executeMethod(query, "gzipUserAgent"); Loading Loading
src/com/owncloud/android/lib/resources/files/LightReadFolderRemoteOperation.java +3 −3 Original line number Diff line number Diff line Loading @@ -34,7 +34,9 @@ import com.owncloud.android.lib.common.operations.RemoteOperationResult; import com.owncloud.android.lib.common.utils.Log_OC; import com.owncloud.android.lib.resources.files.model.RemoteFile; import org.apache.commons.httpclient.Header; import org.apache.commons.httpclient.HttpStatus; import org.apache.commons.httpclient.params.HttpParams; import org.apache.jackrabbit.webdav.DavConstants; import org.apache.jackrabbit.webdav.MultiStatus; import org.apache.jackrabbit.webdav.client.methods.PropFindMethod; Loading Loading @@ -95,9 +97,7 @@ public class LightReadFolderRemoteOperation extends RemoteOperation { query = new PropFindMethod(client.getWebdavUri() + WebdavUtils.encodePath(mRemotePath), WebdavUtils.getMinimumPropSet(), // PropFind Properties this.depth); //query.setQueryString(new NameValuePair[]{new NameValuePair("format", "json")}); Log.d("ReadFolderRemoteOp", "Display query: "+query.toString() ); query.setRequestHeader("Accept-Encoding", "gzip,deflate"); int status = client.executeMethod(query, "gzipUserAgent"); Loading