1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-08 00:16:09 +00:00

Delete duplicated header set

This commit is contained in:
davigonz 2018-10-22 10:47:16 +02:00
parent 9526038503
commit 1b72e2bad8

View File

@ -66,10 +66,8 @@ public class GetRemoteShareOperation extends RemoteOperation<ShareParserResult>
uriBuilder.appendEncodedPath(Long.toString(mRemoteId)); uriBuilder.appendEncodedPath(Long.toString(mRemoteId));
GetMethod getMethod = new GetMethod(new URL(uriBuilder.build().toString())); GetMethod getMethod = new GetMethod(new URL(uriBuilder.build().toString()));
getMethod.addRequestHeader(OCS_API_HEADER, OCS_API_HEADER_VALUE); getMethod.addRequestHeader(OCS_API_HEADER, OCS_API_HEADER_VALUE);
getMethod.addRequestHeader(OCS_API_HEADER, OCS_API_HEADER_VALUE);
int status = client.executeHttpMethod(getMethod); int status = client.executeHttpMethod(getMethod);
if (isSuccess(status)) { if (isSuccess(status)) {