Issue #3009 - Defaulting to non-LEGACY compliance modes

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2018-10-22 09:53:11 -05:00
parent 6bbc26fab8
commit 1091b98554
2 changed files with 6 additions and 4 deletions

View File

@ -64,9 +64,11 @@ public class HttpReceiverOverHTTPTest
public static Stream<Arguments> complianceModes() throws Exception
{
return Stream.of(
HttpCompliance.LEGACY,
HttpCompliance.RFC2616_LEGACY,
HttpCompliance.RFC7230_LEGACY
HttpCompliance.RFC7230,
HttpCompliance.RFC2616,
HttpCompliance.LEGACY,
HttpCompliance.RFC2616_LEGACY,
HttpCompliance.RFC7230_LEGACY
).map(Arguments::of);
}

View File

@ -330,7 +330,7 @@ public class ResponseContentParser extends StreamContentParser
{
private FCGIHttpParser(ResponseHandler handler)
{
super(handler, 65 * 1024, HttpCompliance.LEGACY);
super(handler, 65 * 1024, HttpCompliance.RFC7230);
reset();
}