Skip to content

Commit fdbdcf8

Browse files
committed
Removed UserAgent identifier, for complete library transparency
1 parent 7178e2c commit fdbdcf8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

library/src/main/java/com/loopj/android/http/AsyncHttpClient.java

-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
*/
102102
public class AsyncHttpClient {
103103

104-
public static final String VERSION = "1.4.5";
105104
public static final int DEFAULT_MAX_CONNECTIONS = 10;
106105
public static final int DEFAULT_SOCKET_TIMEOUT = 10 * 1000;
107106
public static final int DEFAULT_MAX_RETRIES = 5;
@@ -214,7 +213,6 @@ public AsyncHttpClient(SchemeRegistry schemeRegistry) {
214213
HttpConnectionParams.setSocketBufferSize(httpParams, DEFAULT_SOCKET_BUFFER_SIZE);
215214

216215
HttpProtocolParams.setVersion(httpParams, HttpVersion.HTTP_1_1);
217-
HttpProtocolParams.setUserAgent(httpParams, String.format("android-async-http/%s (http://loopj.com/android-async-http)", VERSION));
218216

219217
ThreadSafeClientConnManager cm = new ThreadSafeClientConnManager(httpParams, schemeRegistry);
220218

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.loopj.android.http.sample;
2+
3+
/**
4+
* Created by msebera on 21/04/14.
5+
*/
6+
public class GzipSample {
7+
}

0 commit comments

Comments
 (0)