W3cubDocs

/WordPress

Fsockopen::accept_encoding(): string

Retrieve the encodings we can accept

Return

string Accept-Encoding header value

Source

	return $responses;
}

/**
 * Retrieve the encodings we can accept
 *
 * @return string Accept-Encoding header value
 */
private static function accept_encoding() {
	$type = [];
	if (function_exists('gzinflate')) {
		$type[] = 'deflate;q=1.0';
	}

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wporg-requests-transport-fsockopen/accept_encoding