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
|
||||
{
|
||||
fields.add(httpField);
|
||||
if (seenResponseCode)
|
||||
notifyHeader(httpField);
|
||||
else
|
||||
fields.add(httpField);
|
||||
}
|
||||
}
|
||||
catch (Throwable x)
|
||||
|
|
Loading…
Reference in New Issue