WordPress at a glance
function is not described

Requests_Transport_fsockopen::accept_encoding() protected WP 1.0

Retrieve the encodings we can accept

It's a method of the class: Requests_Transport_fsockopen{}

No Hooks.

Return

String. Accept-Encoding header value

Usage

$result = Requests_Transport_fsockopen::accept_encoding();

Code of Requests_Transport_fsockopen::accept_encoding() WP 5.5.1

<?php
protected static function accept_encoding() {
	$type = array();
	if (function_exists('gzinflate')) {
		$type[] = 'deflate;q=1.0';
	}

	if (function_exists('gzuncompress')) {
		$type[] = 'compress;q=0.5';
	}

	$type[] = 'gzip;q=0.5';

	return implode(', ', $type);
}