This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已动态机器翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.
Este artigo foi traduzido automaticamente.
这篇文章已经过机器翻译.放弃
Translation failed!
HTTP リクエストとレスポンスの形式に関する注意事項
Citrix ADCアプライアンスは、HTTPコールアウト要求の有効性をチェックしません。したがって、HTTP コールアウトを設定する前に、HTTP 要求の形式を知っておく必要があります。HTTP コールアウトの設定には、HTTP コールアウトエージェントからの応答を評価する式を設定する必要があるため、HTTP レスポンスの形式も知っておく必要があります。
ここでは、次の項について説明します。
- HTTP リクエストのフォーマット
- HTTP レスポンスの形式
HTTP リクエストのフォーマット
HTTP リクエストには、キャリッジリターンと改行で終わる一連の行が含まれます。<CR><LF> or \r\n
。
リクエストの最初の行( メッセージ行 )には、HTTP メソッドとターゲットが含まれます。たとえば、GET リクエストのメッセージ行には、次の例に示すように、キーワード GET と、フェッチされるオブジェクトを表す文字列が含まれます。
GET /mysite/mydirectory/index.html HTTP/1.1\r\n
要求の残りの部分には、必須の Host ヘッダー、および該当する場合はメッセージ本文を含む HTTP ヘッダーが含まれます。
リクエストはバンク行(余分な<CR><LF> or \r\n
)で終わります。
リクエストの例を次に示します。
Get /mysite/index.html HTTP/1.1\r\n
Host: 10.101.101.10\r\n
Accept: \*/\*\r\n
\r\n
HTTP レスポンスの形式
HTTP 応答には、ステータスメッセージ、応答 HTTP ヘッダー、および要求されたオブジェクト、または要求されたオブジェクトを提供できない場合は、エラーメッセージが含まれます。
応答の例を次に示します。
HTTP/1.1 200 OK\r\n
Content-Length: 55\r\n
Content-Type: text/html\r\n
Last-Modified: Wed, 12 Aug 1998 15:03:50 GMT\r\n
Accept-Ranges: bytes\r\n
ETag: “04f97692cbd1:377”\r\n
Date: Thu, 19 Jun 2008 19:29:07 GMT\r\n
\r\n
<55-character response>
共有
共有
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select Do Not Agree to exit.