durusmail: quixote-users: PublishError's HTTP reponse
PublishError's HTTP reponse
2003-09-15
2003-09-15
2003-09-15
2003-09-15
PublishError's HTTP reponse
Neil Schemenauer
2003-09-15
On Mon, Sep 15, 2003 at 02:19:51PM -0400, John Belmonte wrote:
> I found that PublishError is useless in the case where I need my server
> to return "405 Method Not Allowed", because the HTTP RFC says you must
> include an Allow header in that case, and PublishError does not let you
> control the HTTP reponse.

Can't you subclass PublishError and override the format() method?

  Neil

reply