WP_Http_Encoding::content_encoding()public staticWP 2.8.0

What encoding the content used when it was compressed to send in the headers.

Method of the class: WP_Http_Encoding{}

No Hooks.

Return

String. Content-Encoding string to send in the header.

Usage

$result = WP_Http_Encoding::content_encoding();

Changelog

Since 2.8.0 Introduced.

WP_Http_Encoding::content_encoding() code WP 6.5.2

public static function content_encoding() {
	return 'deflate';
}