mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
WP_HTTP: Update the documentation regarding HTTP/1.1 support. Props leewillis77 Fixes #25074
git-svn-id: https://develop.svn.wordpress.org/trunk@25154 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2785826961
commit
de7d430280
@ -55,9 +55,9 @@ class WP_Http {
|
||||
* accept setting that value.
|
||||
*
|
||||
* 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
|
||||
* 'user-agent' option is the user-agent and is used to replace the default user-agent, which is
|
||||
* 'WordPress/WP_Version', where WP_Version is the value from $wp_version.
|
||||
* '1.1' and should be a string. The 'user-agent' option is the user-agent and is used to
|
||||
* replace the default user-agent, which is 'WordPress/WP_Version', where WP_Version is the
|
||||
* value from $wp_version.
|
||||
*
|
||||
* '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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user