Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1178

Show
Ignore:
Timestamp:
06/30/06 00:10:28
Author:
fumanchu
Message:

Fix in 2.x and trunk for #522 (redirect documentation doesn't talk about status code).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/cherrypy-2.x/docs/book/xml/apireference.xml

    r973 r1178  
    391391        <section> 
    392392            <title>cherrypy.HTTPRedirect</title> 
    393             <para>This exception will force a HTTP redirect.</para> 
     393            <para>This exception will force a HTTP redirect to the url (or urls) you provide it. 
     394            Optionally, you may specify the 3xx HTTP status code you want it to return. If you do 
     395            not specify a status, then 303 will be used for HTTP/1.1 responses, and 302 will be 
     396            used for HTTP/1.0 responses.</para> 
    394397        </section> 
    395398        <section> 
  • trunk/docs/book/xml/apireference.xml

    r973 r1178  
    391391        <section> 
    392392            <title>cherrypy.HTTPRedirect</title> 
    393             <para>This exception will force a HTTP redirect.</para> 
     393            <para>This exception will force a HTTP redirect to the url (or urls) you provide it. 
     394            Optionally, you may specify the 3xx HTTP status code you want it to return. If you do 
     395            not specify a status, then 303 will be used for HTTP/1.1 responses, and 302 will be 
     396            used for HTTP/1.0 responses.</para> 
    394397        </section> 
    395398        <section> 

Hosted by WebFaction

Log in as guest/cpguest to create tickets