Always store HTTP fields to implement logic to detect the content mode.

This commit is contained in:
Simone Bordet 2014-05-20 22:20:52 +02:00
parent 8bf0fee80b
commit 2a4cee5db6
1 changed files with 1 additions and 2 deletions

View File

@ -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)