WP_HTTP: Update the documentation regarding HTTP/1.1 support. Props leewillis77 Fixes #25074
Built from https://develop.svn.wordpress.org/trunk@25154 git-svn-id: http://core.svn.wordpress.org/trunk@25133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
122c3953d1
commit
5a9ccf9bee
|
@ -55,9 +55,9 @@ class WP_Http {
|
||||||
* accept setting that value.
|
* accept setting that value.
|
||||||
*
|
*
|
||||||
* The 'httpversion' option is used to sent the HTTP version and accepted values are '1.0', and
|
* The 'httpversion' option is used to sent the HTTP version and accepted values are '1.0', and
|
||||||
* '1.1' and should be a string. Version 1.1 is not supported, because of chunk response. The
|
* '1.1' and should be a string. The 'user-agent' option is the user-agent and is used to
|
||||||
* 'user-agent' option is the user-agent and is used to replace the default user-agent, which is
|
* replace the default user-agent, which is 'WordPress/WP_Version', where WP_Version is the
|
||||||
* 'WordPress/WP_Version', where WP_Version is the value from $wp_version.
|
* value from $wp_version.
|
||||||
*
|
*
|
||||||
* 'blocking' is the default, which is used to tell the transport, whether it should halt PHP
|
* 'blocking' is the default, which is used to tell the transport, whether it should halt PHP
|
||||||
* while it performs the request or continue regardless. Actually, that isn't entirely correct.
|
* while it performs the request or continue regardless. Actually, that isn't entirely correct.
|
||||||
|
|
Loading…
Reference in New Issue