WordPress at a glance
function is not described

WP_Http_Encoding::content_encoding() public WP 2.8.0

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

{} It's a 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.

Code of WP_Http_Encoding::content_encoding() WP 5.7

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