[Zope] RESPONSE.setStatus(), what does that do?

pskipwort@touchcorp.com pskipwort@touchcorp.com
Mon, 3 Feb 2003 13:34:15 +1100


Without looking at the docs, I'd assume this sets the HTTP response code 
- ie '200' for a successful request, etc etc.

Cheers

P


-----Original Message-----
From: mail@peterbe.com [mailto:mail@peterbe.com]
Sent: Monday, 3 February 2003 12:08 PM
To: zope@zope.org
Subject: [Zope] RESPONSE.setStatus(), what does that do?


I noticed in Dieter Mauer's Chapter 3 book this DTML::

  ...
  <dtml-except>
  <dtml-call "RESPONSE.setStatus(error_type)">
  ...

What does that setStatus actually do? Or, what does it help?


_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )