Code Duplication    Length = 3-5 lines in 2 locations

library/Requests.php 2 locations

@@ 908-912 (lines=5) @@
905
			$huffman_encoded = true;
906
		}
907
908
		if ($huffman_encoded) {
909
			if (false !== ($decompressed = @gzinflate(substr($gzData, 2)))) {
910
				return $decompressed;
911
			}
912
		}
913
914
		if ("\x50\x4b\x03\x04" == substr($gzData, 0, 4)) {
915
			// ZIP file format header
@@ 936-938 (lines=3) @@
933
			// Determine the first byte of data, based on the above ZIP header
934
			// offsets:
935
			$first_file_start = array_sum(unpack('v2', substr($gzData, 26, 4)));
936
			if (false !== ($decompressed = @gzinflate(substr($gzData, 30 + $first_file_start)))) {
937
				return $decompressed;
938
			}
939
			return false;
940
		}
941