stevel      02/05/22 10:39:58

  Modified:    docs/manual/CoreTasks Tag: ANT_15_BRANCH conditions.html
  Log:
  tightened the policy on response codes; 404 is now recognised as invalid, 
along with any of the >400 codes. But for people that really dont want that, 
there is an errorsBeginAt attribute that you can move up or down the line
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.9.2.2   +8 -2      jakarta-ant/docs/manual/CoreTasks/conditions.html
  
  Index: conditions.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/conditions.html,v
  retrieving revision 1.9.2.1
  retrieving revision 1.9.2.2
  diff -u -r1.9.2.1 -r1.9.2.2
  --- conditions.html   7 May 2002 12:50:57 -0000       1.9.2.1
  +++ conditions.html   22 May 2002 17:39:58 -0000      1.9.2.2
  @@ -151,7 +151,8 @@
   
   <h4>http</h4>
   <p>The <code>http</code> condition checks for a valid response from a
  -web server of the specified url.</p>
  +web server of the specified url. By default, HTTP responses errors
  +of 400 or greater are viewed as invalid.</p>
   <table border="1" cellpadding="2" cellspacing="0">
     <tr>
       <td width="12%" valign="top"><b>Attribute</b></td>
  @@ -161,8 +162,13 @@
     <tr>
       <td valign="top">url</td>
       <td valign="top">The full URL of the page to request. The web server must
  -      return a status code of &lt;500..</td>
  +      return a status code of &lt;<tt>errorsBeginAt</tt></td>
       <td align="center">Yes.</td>
  +    <td valign="top">errorsBeginAt</td>
  +    <td valign="top">The lowest HTTP response code that signals an error;
  +    by default '400'; server errors, not-authorized, not-found and the like 
  +    are detected</td>
  +    <td align="center">No</td>
     </tr>
   </table>
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to