1.1 --- a/docs/redirection.html Sun Nov 20 23:37:12 2005 +0000
1.2 +++ b/docs/redirection.html Sun Nov 20 23:37:51 2005 +0000
1.3 @@ -4,7 +4,6 @@
1.4
1.5 <title>Redirection</title><meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/" />
1.6 <link href="styles.css" rel="stylesheet" type="text/css" /></head>
1.7 -
1.8 <body>
1.9 <h1>Redirection</h1><p>Instead of presenting information to a user when
1.10 that user visits a particular URL, we may instead choose to redirect
1.11 @@ -12,7 +11,7 @@
1.12 viewed. To redirect a user of an application, we can use the following
1.13 transaction method:</p><div class="WebStack">
1.14 <h3>WebStack API - Redirection</h3>
1.15 -<p>WebStack provides the following method to perform redirection:</p>
1.16 +<p>WebStack provides the following method in transaction objects to perform redirection:</p>
1.17 <dl><dt><code>redirect</code></dt><dd>This method accepts a path value
1.18 suitable for use in response headers indicating the location to which a
1.19 user shall be redirected. An optional response code (see <a href="responses.html">"Responses and Presentation"</a>) can be specified to modify the meaning of the redirection (as defined in the HTTP specifications).</dd></dl></div><p>Since the path value must be usable in response header, it is necessary to transform paths as described in the <a href="path-value-encoding.html">"Encoding and Decoding Path Values"</a> document, and an example of redirection is given in that document.</p></body></html>
1.20 \ No newline at end of file