52 lines
998 B
Smali
52 lines
998 B
Smali
.class public Lmf/d;
|
|
.super Ljava/lang/Object;
|
|
.source "RequestAcceptEncoding.java"
|
|
|
|
# interfaces
|
|
.implements Ldf/s;
|
|
|
|
|
|
# annotations
|
|
.annotation build Lcz/msebera/android/httpclient/annotation/Immutable;
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public e(Ldf/q;Lpg/g;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcz/msebera/android/httpclient/HttpException;,
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string p2, "Accept-Encoding"
|
|
|
|
.line 1
|
|
invoke-interface {p1, p2}, Ldf/p;->containsHeader(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "gzip,deflate"
|
|
|
|
.line 2
|
|
invoke-interface {p1, p2, v0}, Ldf/p;->addHeader(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|