Always store HTTP fields to implement logic to detect the content mode.
This commit is contained in:
parent
8bf0fee80b
commit
2a4cee5db6
|
@ -176,10 +176,9 @@ public class ResponseContentParser extends StreamContentParser
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
fields.add(httpField);
|
||||||
if (seenResponseCode)
|
if (seenResponseCode)
|
||||||
notifyHeader(httpField);
|
notifyHeader(httpField);
|
||||||
else
|
|
||||||
fields.add(httpField);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Throwable x)
|
catch (Throwable x)
|
||||||
|
|
Loading…
Reference in New Issue