Android.Net.Http.AndroidHttpClient.ModifyRequestToAcceptGzipResponse Method
Modifies a request to indicate to the server that we would like a gzipped response.

Syntax

[Android.Runtime.Register("modifyRequestToAcceptGzipResponse", "(Lorg/apache/http/HttpRequest;)V", "")]
public static void ModifyRequestToAcceptGzipResponse (Org.Apache.Http.IHttpRequest request)

See Also

AndroidHttpClient.GetUngzippedContent(Org.Apache.Http.IHttpEntity)

Parameters

request
the request to modify

Remarks

Modifies a request to indicate to the server that we would like a gzipped response. (Uses the "Accept-Encoding" HTTP header.)

[Android Documentation]

Requirements

Namespace: Android.Net.Http
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8