durusmail: quixote-users: allowing an empty body
allowing an empty body
2003-09-03
2003-09-03
2003-09-03
2003-09-03
2003-09-03
allowing an empty body
A.M. Kuchling
2003-09-03
On Wed, Sep 03, 2003 at 04:55:26PM -0400, Neil Schemenauer wrote:
>No, returning the empty string will leave 'response.body' equal to None.
>However, I have noticed that with Apache and mod_scgi I still get:

There's an HTTP response code, 204 No Content, which should be used in
such case.  Quixote could allow None if the status is 204, and signal
an error if content was in fact returned.  I'll work up a patch.

--amk

reply