public static boolean shouldEnforceChunkingforHttpOneZero ( ChunkConfig chunkConfig , String httpVersion ) { return chunkConfig == ChunkConfig . ALWAYS && Float . valueOf ( httpVersion ) >= Constants . HTTP_1_0 ; }
Returns whether to enforce chunking on HTTP 1 . 0 requests .