tcl-websh-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ron...@apache.org
Subject svn commit: r743321 - in /tcl/websh/trunk/doc: quickref.xml quickref.xsl
Date Wed, 11 Feb 2009 13:09:25 GMT
Author: ronnie
Date: Wed Feb 11 13:09:24 2009
New Revision: 743321

URL: http://svn.apache.org/viewvc?rev=743321&view=rev
Log:
- minor documentation fixes

Modified:
    tcl/websh/trunk/doc/quickref.xml
    tcl/websh/trunk/doc/quickref.xsl

Modified: tcl/websh/trunk/doc/quickref.xml
URL: http://svn.apache.org/viewvc/tcl/websh/trunk/doc/quickref.xml?rev=743321&r1=743320&r2=743321&view=diff
==============================================================================
--- tcl/websh/trunk/doc/quickref.xml (original)
+++ tcl/websh/trunk/doc/quickref.xml Wed Feb 11 13:09:24 2009
@@ -762,7 +762,7 @@
 	  </varlistentry>
 	</variablelist>
 
-	<emphasis>Note</emphasis> that, if no command is passed to
+	<emphasis>Note</emphasis>: If no command is passed to
 	web::dispatch either in the querystring or with the
 	<option>-cmd</option> option, web::dispatch will call the
 	command &quot;default&quot;.
@@ -1252,7 +1252,7 @@
 		value of the field (like Content-Type) and their
 		values (like text/html).</para><para>
 		Example:</para><para> <literal
-		  remap="tt">web::response -set Status 200</literal>.
+		  remap="tt">web::response -set Content-Type text/plain</literal>.
 	      </para>
 	    </listitem>
 	  </varlistentry>
@@ -1315,6 +1315,16 @@
 		&quot;HTTP/??&quot; in the reponse with
 		&quot;HTTP/1.1&quot;.
 	      </para>
+	      <para>
+		<emphasis>Note</emphasis>: Depending on the CGI
+		implementation of your web
+		server, this does not always work. A working alternative 
+		for newer versions of Apache is to set a Status header 
+		in the response as follows:
+	      </para>
+	      <para> <literal
+		  remap="tt">web::response -set Status &quot;400 Bad Request&quot;</literal>.
+	      </para>
 	    </listitem>
 	  </varlistentry>
 	  <varlistentry>

Modified: tcl/websh/trunk/doc/quickref.xsl
URL: http://svn.apache.org/viewvc/tcl/websh/trunk/doc/quickref.xsl?rev=743321&r1=743320&r2=743321&view=diff
==============================================================================
--- tcl/websh/trunk/doc/quickref.xsl (original)
+++ tcl/websh/trunk/doc/quickref.xsl Wed Feb 11 13:09:24 2009
@@ -23,7 +23,7 @@
   <!-- ==================================================================== -->
 
   <xsl:import
-    href="http://docbook.sourceforge.net/release/xsl/1.69.1/html/chunk.xsl"
+    href="http://docbook.sourceforge.net/release/xsl/1.74.0/html/chunk.xsl"
   />
   <!-- local alternatives to the network URL for faster processing 
   <xsl:import



---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org


Mime
View raw message