WP_Http_Encoding::content_encoding()

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

Return

(string) Content-Encoding string to send in the header.

Source

File: wp-includes/class-wp-http-encoding.php

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

Changelog

Version Description
2.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_http_encoding/content_encoding