mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-21 21:33:08 +00:00
Add user agent in all the request
This commit is contained in:
@@ -75,6 +75,7 @@ public class GetRemoteStatusOperation extends RemoteOperation {
|
||||
String baseUrlSt = client.getBaseUri().toString();
|
||||
try {
|
||||
get = new GetMethod(baseUrlSt + AccountUtils.STATUS_PATH);
|
||||
get.addRequestHeader(USER_AGENT_HEADER, getUserAgent());
|
||||
|
||||
client.setFollowRedirects(false);
|
||||
boolean isRedirectToNonSecureConnection = false;
|
||||
|
||||
Reference in New Issue
Block a user