mirror of
https://github.com/php/doc-ja.git
synced 2026-04-23 16:08:07 +02:00
4284d39ec2
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@324072 c90b9560-bf6c-de11-be94-00142212c4b1
1303 lines
35 KiB
XML
1303 lines
35 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 4de5cce5d886bf7ea08db8583141ff9715b47073 Maintainer: takagi Status: ready -->
|
|
<appendix xml:id="http.constants" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<variablelist xml:id="http.constants.support">
|
|
<title><function>http_support</function> で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-support">
|
|
<term>
|
|
<constant>HTTP_SUPPORT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
この定数を問い合わせると、常に &true; を返します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-support-requests">
|
|
<term>
|
|
<constant>HTTP_SUPPORT_REQUESTS</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
HTTP リクエストをサポートしているかどうか、
|
|
つまり libcurl のサポート込みでコンパイルされているかどうか。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-support-magicmime">
|
|
<term>
|
|
<constant>HTTP_SUPPORT_MAGICMIME</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
HTTP メッセージにおける Content-Type の推測をサポートしているかどうか、
|
|
つまり libmagic のサポート込みでコンパイルされているかどうか。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-support-encodings">
|
|
<term>
|
|
<constant>HTTP_SUPPORT_ENCODINGS</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
zlib エンコーディングをサポートしているかどうか、
|
|
つまり libz のサポート込みでコンパイルされているかどうか。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-support-sslrequests">
|
|
<term>
|
|
<constant>HTTP_SUPPORT_SSLREQUESTS</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
SSL 越しの HTTP リクエストの発行をサポートしているかどうか、
|
|
つまり、リンクしている libcurl に SSL サポートが組み込まれているかどうか。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.params">
|
|
<title><function>http_parse_params</function> で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-params-allow-comma">
|
|
<term>
|
|
<constant>HTTP_PARAMS_ALLOW_COMMA</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
区切り文字として、セミコロンのほかにカンマも許可します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-params-allow-failure">
|
|
<term>
|
|
<constant>HTTP_PARAMS_ALLOW_FAILURE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
エラーが発生した後もパースを続行します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-params-raise-error">
|
|
<term>
|
|
<constant>HTTP_PARAMS_RAISE_ERROR</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
パースエラー時に PHP の警告を発生します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-params-default">
|
|
<term>
|
|
<constant>HTTP_PARAMS_DEFAULT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
上の三つすべての論理和。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.cookie">
|
|
<title><function>http_parse_cookie</function> およびその返り値で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-cookie-parse-raw">
|
|
<term>
|
|
<constant>HTTP_COOKIE_PARSE_RAW</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
値を urldecode しません。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-cookie-secure">
|
|
<term>
|
|
<constant>HTTP_COOKIE_SECURE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
クッキーのパラメータリストに "secure" があるかどうか。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-cookie-httponly">
|
|
<term>
|
|
<constant>HTTP_COOKIE_HTTPONLY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
クッキーのパラメータリストに "httpOnly" があるかどうか。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.deflate">
|
|
<title><function>http_deflate</function> および <classname>HttpDeflateStream</classname> で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-deflate-level-def">
|
|
<term>
|
|
<constant>HTTP_DEFLATE_LEVEL_DEF</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-deflate-level-min">
|
|
<term>
|
|
<constant>HTTP_DEFLATE_LEVEL_MIN</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-deflate-level-max">
|
|
<term>
|
|
<constant>HTTP_DEFLATE_LEVEL_MAX</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-deflate-type-zlib">
|
|
<term>
|
|
<constant>HTTP_DEFLATE_TYPE_ZLIB</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-deflate-type-gzip">
|
|
<term>
|
|
<constant>HTTP_DEFLATE_TYPE_GZIP</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-deflate-type-raw">
|
|
<term>
|
|
<constant>HTTP_DEFLATE_TYPE_RAW</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-deflate-strategy-def">
|
|
<term>
|
|
<constant>HTTP_DEFLATE_STRATEGY_DEF</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-deflate-strategy-filt">
|
|
<term>
|
|
<constant>HTTP_DEFLATE_STRATEGY_FILT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-deflate-strategy-huff">
|
|
<term>
|
|
<constant>HTTP_DEFLATE_STRATEGY_HUFF</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-deflate-strategy-rle">
|
|
<term>
|
|
<constant>HTTP_DEFLATE_STRATEGY_RLE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-deflate-strategy-fixed">
|
|
<term>
|
|
<constant>HTTP_DEFLATE_STRATEGY_FIXED</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.encodingstream">
|
|
<title><classname>HttpDeflateStream</classname> および <classname>HttpInflateStream</classname> で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-encoding-stream-flush-none">
|
|
<term>
|
|
<constant>HTTP_ENCODING_STREAM_FLUSH_NONE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
フラッシュしません。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-encoding-stream-flush-sync">
|
|
<term>
|
|
<constant>HTTP_ENCODING_STREAM_FLUSH_SYNC</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
同期フラッシュのみを行います。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-encoding-stream-flush-full">
|
|
<term>
|
|
<constant>HTTP_ENCODING_STREAM_FLUSH_FULL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
データの完全なフラッシュを行います。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.error">
|
|
<title>エラー報告および例外で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-e-runtime">
|
|
<term>
|
|
<constant>HTTP_E_RUNTIME</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
実行時エラー。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-invalid-param">
|
|
<term>
|
|
<constant>HTTP_E_INVALID_PARAM</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
無効なパラメータが渡されました。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-header">
|
|
<term>
|
|
<constant>HTTP_E_HEADER</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
header() あるいは同等の処理に失敗しました。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-malformed-headers">
|
|
<term>
|
|
<constant>HTTP_E_MALFORMED_HEADERS</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
HTTP ヘッダのパースエラー。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-request-method">
|
|
<term>
|
|
<constant>HTTP_E_REQUEST_METHOD</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
未知の/無効な リクエストメソッドです。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-message-type">
|
|
<term>
|
|
<constant>HTTP_E_MESSAGE_TYPE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
操作とメッセージの型が一致しません。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-encoding">
|
|
<term>
|
|
<constant>HTTP_E_ENCODING</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
エンコード/デコード エラー。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-request">
|
|
<term>
|
|
<constant>HTTP_E_REQUEST</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
リクエストに失敗しました。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-request-pool">
|
|
<term>
|
|
<constant>HTTP_E_REQUEST_POOL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
リクエストプールに失敗しました。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-socket">
|
|
<term>
|
|
<constant>HTTP_E_SOCKET</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
ソケットの例外。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-response">
|
|
<term>
|
|
<constant>HTTP_E_RESPONSE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
レスポンスに失敗しました。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-url">
|
|
<term>
|
|
<constant>HTTP_E_URL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
URL が無効です。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-e-querystring">
|
|
<term>
|
|
<constant>HTTP_E_QUERYSTRING</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
クエリ文字列の操作に失敗しました。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.message">
|
|
<title><classname>HttpMessage</classname> で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-msg-none">
|
|
<term>
|
|
<constant>HTTP_MSG_NONE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
メッセージに型が指定されていません。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-msg-request">
|
|
<term>
|
|
<constant>HTTP_MSG_REQUEST</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
リクエスト型のメッセージ。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-msg-response">
|
|
<term>
|
|
<constant>HTTP_MSG_RESPONSE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
レスポンス型のメッセージ。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.querystring">
|
|
<title><classname>HttpQueryString</classname> で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-querystring-type-bool">
|
|
<term>
|
|
<constant>HTTP_QUERYSTRING_TYPE_BOOL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-querystring-type-int">
|
|
<term>
|
|
<constant>HTTP_QUERYSTRING_TYPE_INT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-querystring-type-float">
|
|
<term>
|
|
<constant>HTTP_QUERYSTRING_TYPE_FLOAT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-querystring-type-string">
|
|
<term>
|
|
<constant>HTTP_QUERYSTRING_TYPE_STRING</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-querystring-type-array">
|
|
<term>
|
|
<constant>HTTP_QUERYSTRING_TYPE_ARRAY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-querystring-type-object">
|
|
<term>
|
|
<constant>HTTP_QUERYSTRING_TYPE_OBJECT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.request.httpauth">
|
|
<title><literal>httpauthtype</literal> &link.http.request.option; で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-auth-basic">
|
|
<term>
|
|
<constant>HTTP_AUTH_BASIC</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
ベーシック認証を使用します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-auth-digest">
|
|
<term>
|
|
<constant>HTTP_AUTH_DIGEST</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
ダイジェスト認証を使用します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-auth-ntlm">
|
|
<term>
|
|
<constant>HTTP_AUTH_NTLM</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
"NTLM" 認証を使用します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-auth-gssneg">
|
|
<term>
|
|
<constant>HTTP_AUTH_GSSNEG</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
"GSS-NEGOTIATE" 認証を使用します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-auth-any">
|
|
<term>
|
|
<constant>HTTP_AUTH_ANY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
任意の認証スキームを試みます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.request.protocol">
|
|
<title>HTTP <literal>protocol</literal> バージョン &link.http.request.option; で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-version-any">
|
|
<term>
|
|
<constant>HTTP_VERSION_ANY</constant> <!-- HTTP_VERSION_NONE is deprecated -->
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
HTTP プロトコルのバージョンを指定しません。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-version-1-0">
|
|
<term>
|
|
<constant>HTTP_VERSION_1_0</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
HTTP バージョン 1.0。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-version-1-1">
|
|
<term>
|
|
<constant>HTTP_VERSION_1_1</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
HTTP バージョン 1.1。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.request.ssl">
|
|
<title>SSL <literal>protocol</literal> 型およびバージョン &link.http.request.option; で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-ssl-version-any">
|
|
<term>
|
|
<constant>HTTP_SSL_VERSION_ANY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
SSL プロトコルのバージョンを指定しません。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-ssl-version-tlsv1">
|
|
<term>
|
|
<constant>HTTP_SSL_VERSION_TLSv1</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
TLSv1 のみを使用します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-ssl-version-sslv3">
|
|
<term>
|
|
<constant>HTTP_SSL_VERSION_SSLv3</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
SSLv3 のみを使用します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-ssl-version-sslv2">
|
|
<term>
|
|
<constant>HTTP_SSL_VERSION_SSLv2</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
SSLv2 のみを使用します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.request.proxy">
|
|
<title><literal>proxytype</literal> &link.http.request.option; で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-proxy-socks4">
|
|
<term>
|
|
<constant>HTTP_PROXY_SOCKS4</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
SOCKS4 型のプロキシ。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-proxy-socks5">
|
|
<term>
|
|
<constant>HTTP_PROXY_SOCKS5</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
SOCKS5 型のプロキシ。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-proxy-http">
|
|
<term>
|
|
<constant>HTTP_PROXY_HTTP</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
標準の HTTP プロキシ。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.request.dns">
|
|
<title><literal>ipresolve</literal> &link.http.request.option; で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-ipresolve-v4">
|
|
<term>
|
|
<constant>HTTP_IPRESOLVE_V4</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
IPv4 のみで名前解決を行います。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-ipresolve-v6">
|
|
<term>
|
|
<constant>HTTP_IPRESOLVE_V6</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
IPv6 のみで名前解決を行います。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-ipresolve-any">
|
|
<term>
|
|
<constant>HTTP_IPRESOLVE_ANY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
任意の IP メカニズムで名前解決を行います。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.request.methods">
|
|
<title>定義済みの HTTP リクエストメソッド定数</title>
|
|
<varlistentry xml:id="constant.http-meth-get">
|
|
<term>
|
|
<constant>HTTP_METH_GET</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-head">
|
|
<term>
|
|
<constant>HTTP_METH_HEAD</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-post">
|
|
<term>
|
|
<constant>HTTP_METH_POST</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-put">
|
|
<term>
|
|
<constant>HTTP_METH_PUT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-delete">
|
|
<term>
|
|
<constant>HTTP_METH_DELETE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-options">
|
|
<term>
|
|
<constant>HTTP_METH_OPTIONS</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-trace">
|
|
<term>
|
|
<constant>HTTP_METH_TRACE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-connect">
|
|
<term>
|
|
<constant>HTTP_METH_CONNECT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-propfind">
|
|
<term>
|
|
<constant>HTTP_METH_PROPFIND</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-proppatch">
|
|
<term>
|
|
<constant>HTTP_METH_PROPPATCH</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-mkcol">
|
|
<term>
|
|
<constant>HTTP_METH_MKCOL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-copy">
|
|
<term>
|
|
<constant>HTTP_METH_COPY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-move">
|
|
<term>
|
|
<constant>HTTP_METH_MOVE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-lock">
|
|
<term>
|
|
<constant>HTTP_METH_LOCK</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-unlock">
|
|
<term>
|
|
<constant>HTTP_METH_UNLOCK</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-version-control">
|
|
<term>
|
|
<constant>HTTP_METH_VERSION_CONTROL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-report">
|
|
<term>
|
|
<constant>HTTP_METH_REPORT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-checkout">
|
|
<term>
|
|
<constant>HTTP_METH_CHECKOUT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-checkin">
|
|
<term>
|
|
<constant>HTTP_METH_CHECKIN</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-uncheckout">
|
|
<term>
|
|
<constant>HTTP_METH_UNCHECKOUT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-mkworkspace">
|
|
<term>
|
|
<constant>HTTP_METH_MKWORKSPACE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-update">
|
|
<term>
|
|
<constant>HTTP_METH_UPDATE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-label">
|
|
<term>
|
|
<constant>HTTP_METH_LABEL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-merge">
|
|
<term>
|
|
<constant>HTTP_METH_MERGE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-baseline-control">
|
|
<term>
|
|
<constant>HTTP_METH_BASELINE_CONTROL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-mkactivity">
|
|
<term>
|
|
<constant>HTTP_METH_MKACTIVITY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-meth-acl">
|
|
<term>
|
|
<constant>HTTP_METH_ACL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<!-- TODO description -->
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.redirect">
|
|
<title><function>http_redirect</function> で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-redirect">
|
|
<term>
|
|
<constant>HTTP_REDIRECT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
適切なリダイレクト方式を判断します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-redirect-perm">
|
|
<term>
|
|
<constant>HTTP_REDIRECT_PERM</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
永続的なリダイレクト (<literal>301 Moved permanently</literal>)。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-redirect-found">
|
|
<term>
|
|
<constant>HTTP_REDIRECT_FOUND</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
標準のリダイレクト (<literal>302 Found</literal>)。
|
|
</simpara>
|
|
<note>
|
|
<simpara>
|
|
RFC 1945 および RFC 2068 にて、
|
|
リダイレクトされたリクエストのメソッドをクライアントで変更してはいけないと規定されています。
|
|
しかし、既存のほとんどのユーザーエージェントの実装は、
|
|
302 をまるで 303 のレスポンスであるかのように扱い、
|
|
元のリクエストメソッドが何であるかにかかわらず
|
|
Location フィールドの値に GET リクエストを実行します。
|
|
ステータスコード 303 および 307 が追加されたのは、
|
|
クライアント側に期待する反応をサーバー側で指定できるようにするためです。
|
|
</simpara>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-redirect-post">
|
|
<term>
|
|
<constant>HTTP_REDIRECT_POST</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
POST リクエストが適切なリダイレクト (<literal>303 See other</literal>)。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-redirect-proxy">
|
|
<term>
|
|
<constant>HTTP_REDIRECT_PROXY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
プロキシリダイレクト (<literal>305 Use proxy</literal>)。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-redirect-temp">
|
|
<term>
|
|
<constant>HTTP_REDIRECT_TEMP</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
一時的なリダイレクト (<literal>307 Temporary Redirect</literal>)。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist xml:id="http.constants.url">
|
|
<title><function>http_build_url</function> で使用する定数</title>
|
|
<varlistentry xml:id="constant.http-url-replace">
|
|
<term>
|
|
<constant>HTTP_URL_REPLACE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
最初の URL のすべての部分を、二番目の URL がある場合にそれで置き換えます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-url-join-path">
|
|
<term>
|
|
<constant>HTTP_URL_JOIN_PATH</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
相対パスを連結します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-url-join-query">
|
|
<term>
|
|
<constant>HTTP_URL_JOIN_QUERY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
クエリ文字列を連結します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-url-strip-user">
|
|
<term>
|
|
<constant>HTTP_URL_STRIP_USER</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
認証ユーザーに関する情報を取り除きます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-url-strip-pass">
|
|
<term>
|
|
<constant>HTTP_URL_STRIP_PASS</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
認証パスワードに関する情報を取り除きます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-url-strip-auth">
|
|
<term>
|
|
<constant>HTTP_URL_STRIP_AUTH</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
すべての認証情報を取り除きます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-url-strip-port">
|
|
<term>
|
|
<constant>HTTP_URL_STRIP_PORT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
明示的なポート番号の指定を取り除きます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-url-strip-path">
|
|
<term>
|
|
<constant>HTTP_URL_STRIP_PATH</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
完全パスを取り除きます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-url-strip-query">
|
|
<term>
|
|
<constant>HTTP_URL_STRIP_QUERY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
クエリ文字列を取り除きます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-url-strip-fragment">
|
|
<term>
|
|
<constant>HTTP_URL_STRIP_FRAGMENT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
フラグメント (# 以降) を取り除きます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.http-url-strip-all">
|
|
<term>
|
|
<constant>HTTP_URL_STRIP_ALL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
スキームとホスト以外のすべての部分を取り除きます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</appendix>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|