©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。
HTTP_SUPPORT
( integer )
TRUE
HTTP_SUPPORT_REQUESTS
( integer )
HTTP_SUPPORT_MAGICMIME
( integer )
HTTP_SUPPORT_ENCODINGS
( integer )
HTTP_SUPPORT_SSLREQUESTS
( integer )
HTTP_PARAMS_ALLOW_COMMA
( integer )
HTTP_PARAMS_ALLOW_FAILURE
( integer )
HTTP_PARAMS_RAISE_ERROR
( integer )
HTTP_PARAMS_DEFAULT
( integer )
HTTP_DEFLATE_LEVEL_DEF
( integer )
HTTP_DEFLATE_LEVEL_MIN
( integer )
HTTP_DEFLATE_LEVEL_MAX
( integer )
HTTP_DEFLATE_TYPE_ZLIB
( integer )
HTTP_DEFLATE_TYPE_GZIP
( integer )
HTTP_DEFLATE_TYPE_RAW
( integer )
HTTP_DEFLATE_STRATEGY_DEF
( integer )
HTTP_DEFLATE_STRATEGY_FILT
( integer )
HTTP_DEFLATE_STRATEGY_HUFF
( integer )
HTTP_DEFLATE_STRATEGY_RLE
( integer )
HTTP_DEFLATE_STRATEGY_FIXED
( integer )
HTTP_ENCODING_STREAM_FLUSH_NONE
( integer )
HTTP_ENCODING_STREAM_FLUSH_SYNC
( integer )
HTTP_ENCODING_STREAM_FLUSH_FULL
( integer )
HTTP_E_RUNTIME
( integer )
HTTP_E_INVALID_PARAM
( integer )
HTTP_E_HEADER
( integer )
HTTP_E_MALFORMED_HEADERS
( integer )
HTTP_E_REQUEST_METHOD
( integer )
HTTP_E_MESSAGE_TYPE
( integer )
HTTP_E_ENCODING
( integer )
HTTP_E_REQUEST
( integer )
HTTP_E_REQUEST_POOL
( integer )
HTTP_E_SOCKET
( integer )
HTTP_E_RESPONSE
( integer )
HTTP_E_URL
( integer )
HTTP_E_QUERYSTRING
( integer )
HTTP_MSG_NONE
( integer )
HTTP_MSG_REQUEST
( integer )
HTTP_MSG_RESPONSE
( integer )
HTTP_QUERYSTRING_TYPE_BOOL
( integer )
HTTP_QUERYSTRING_TYPE_INT
( integer )
HTTP_QUERYSTRING_TYPE_FLOAT
( integer )
HTTP_QUERYSTRING_TYPE_STRING
( integer )
HTTP_QUERYSTRING_TYPE_ARRAY
( integer )
HTTP_QUERYSTRING_TYPE_OBJECT
( integer )
HTTP_AUTH_BASIC
( integer )
HTTP_AUTH_DIGEST
( integer )
HTTP_AUTH_NTLM
( integer )
HTTP_AUTH_GSSNEG
( integer )
HTTP_AUTH_ANY
( integer )
HTTP_VERSION_ANY
( integer )
HTTP_VERSION_1_0
( integer )
HTTP_VERSION_1_1
( integer )
HTTP_SSL_VERSION_ANY
( integer )
HTTP_SSL_VERSION_TLSv1
( integer )
HTTP_SSL_VERSION_SSLv3
( integer )
HTTP_SSL_VERSION_SSLv2
( integer )
HTTP_PROXY_SOCKS4
( integer )
HTTP_PROXY_SOCKS5
( integer )
HTTP_PROXY_HTTP
( integer )
HTTP_IPRESOLVE_V4
( integer )
HTTP_IPRESOLVE_V6
( integer )
HTTP_IPRESOLVE_ANY
( integer )
HTTP_METH_GET
( integer )
HTTP_METH_HEAD
( integer )
HTTP_METH_POST
( integer )
HTTP_METH_PUT
( integer )
HTTP_METH_DELETE
( integer )
HTTP_METH_OPTIONS
( integer )
HTTP_METH_TRACE
( integer )
HTTP_METH_CONNECT
( integer )
HTTP_METH_PROPFIND
( integer )
HTTP_METH_PROPPATCH
( integer )
HTTP_METH_MKCOL
( integer )
HTTP_METH_COPY
( integer )
HTTP_METH_MOVE
( integer )
HTTP_METH_LOCK
( integer )
HTTP_METH_UNLOCK
( integer )
HTTP_METH_VERSION_CONTROL
( integer )
HTTP_METH_REPORT
( integer )
HTTP_METH_CHECKOUT
( integer )
HTTP_METH_CHECKIN
( integer )
HTTP_METH_UNCHECKOUT
( integer )
HTTP_METH_MKWORKSPACE
( integer )
HTTP_METH_UPDATE
( integer )
HTTP_METH_LABEL
( integer )
HTTP_METH_MERGE
( integer )
HTTP_METH_BASELINE_CONTROL
( integer )
HTTP_METH_MKACTIVITY
( integer )
HTTP_METH_ACL
( integer )
HTTP_REDIRECT
( integer )
HTTP_REDIRECT_PERM
( integer )
HTTP_REDIRECT_FOUND
( integer )
Note: RFC 1945 and RFC 2068 specify that the client is not allowed to change the method on the redirected request. However, most existing user agent implementations treat 302 as if it were a 303 response, performing a GET on the Location field-value regardless of the original request method. The status codes 303 and 307 have been added for servers that wish to make unambiguously clear which kind of reaction is expected of the client.
HTTP_REDIRECT_POST
( integer )
HTTP_REDIRECT_PROXY
( integer )
HTTP_REDIRECT_TEMP
( integer )
HTTP_URL_REPLACE
( integer )
HTTP_URL_JOIN_PATH
( integer )
HTTP_URL_JOIN_QUERY
( integer )
HTTP_URL_STRIP_USER
( integer )
HTTP_URL_STRIP_PASS
( integer )
HTTP_URL_STRIP_AUTH
( integer )
HTTP_URL_STRIP_PORT
( integer )
HTTP_URL_STRIP_PATH
( integer )
HTTP_URL_STRIP_QUERY
( integer )
HTTP_URL_STRIP_FRAGMENT
( integer )
HTTP_URL_STRIP_ALL
( integer )
[#1] Kelvin Lim [2008-10-27 21:10:29]
Do note that the HTTP_AUTH_NTLM authentication mode supports only NTLMv1. NTLMv2 support appears to be unavailable as of this writing.