You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jf...@apache.org on 2002/05/29 00:20:46 UTC
cvs commit: jakarta-tomcat-connectors/jk/xdocs AJPv13.xml
jfclere 02/05/28 15:20:46
Modified: jk/xdocs AJPv13.xml
Log:
Add explanations for the headers.
Revision Changes Path
1.2 +50 -8 jakarta-tomcat-connectors/jk/xdocs/AJPv13.xml
Index: AJPv13.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/AJPv13.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AJPv13.xml 26 May 2002 21:41:20 -0000 1.1
+++ AJPv13.xml 28 May 2002 22:20:46 -0000 1.2
@@ -297,7 +297,7 @@
</p><p>
<source>
AJP13_FORWARD_REQUEST :=
- prefix_code 2
+ prefix_code (byte) 0x02 = JK_AJP13_FORWARD_REQUEST
method (byte)
protocol (string)
req_uri (string)
@@ -308,6 +308,55 @@
is_ssl (boolean)
num_headers (integer)
request_headers *(req_header_name req_header_value)
+ attributes *(attribut_type attribute_value)
+</source>
+</p><p>
+The <code>request_headers</code> are:
+</p><p>
+<source>
+req_header_name :=
+ sc_req_header_name | (string) [see below for how this is parsed]
+
+sc_req_header_name := 0xA0xx (integer)
+
+req_header_value := (string)
+</source>
+</p><p>
+
+The <code>request_headers</code> are <code>req_header_name</code>
+(string) or integer (0xAOxx) and <code>req_header_value</code>.
+Where xx are the followings:
+</p><p>
+<table>
+ <tr>
+ <td>Value</td>
+ <td>Name</td>
+ <td>Meaning</td>
+ </tr>
+ <tr>
+ <td>0x08</td>
+ <td>SC_REQ_CONTENT_LENGTH</td>
+ <td>content length</td>
+ </tr>
+ <tr>
+ <td>0x07</td>
+ <td>SC_REQ_CONTENT_TYPE</td>
+ <td>content type</td>
+ </tr>
+ <tr>
+ <td>0x05</td>
+ <td>SC_REQ_AUTHORIZATION</td>
+ <td>Authorization</td>
+ </tr>
+</table>
+</p><p>
+When <code>req_header_name</code> is a string <code>req_header_value</code>
+is a string.
+</p><p>
+The <code>attributs</code> are optional and have the following
+ structure:
+</p><p>
+<source>
?context (byte string)
?servlet_path (byte string)
@@ -321,13 +370,6 @@
?attributes *(attribute_name attribute_value)
request_terminator (byte)
-
-req_header_name :=
- sc_req_header_name | (string) [see below for how this is parsed]
-
-sc_req_header_name := 0xA0 (byte)
-
-req_header_value := (string)
attribute_name := (string)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>