Code Duplication    Length = 3-5 lines in 2 locations

library/Requests.php 2 locations

@@ 930-934 (lines=5) @@
927
			$huffman_encoded = true;
928
		}
929
930
		if ($huffman_encoded) {
931
			if (false !== ($decompressed = @gzinflate(substr($gzData, 2)))) {
932
				return $decompressed;
933
			}
934
		}
935
936
		if ("\x50\x4b\x03\x04" == substr($gzData, 0, 4)) {
937
			// ZIP file format header
@@ 958-960 (lines=3) @@
955
			// Determine the first byte of data, based on the above ZIP header
956
			// offsets:
957
			$first_file_start = array_sum(unpack('v2', substr($gzData, 26, 4)));
958
			if (false !== ($decompressed = @gzinflate(substr($gzData, 30 + $first_file_start)))) {
959
				return $decompressed;
960
			}
961
			return false;
962
		}
963