Re: handling 404
Wari Wahab <[email protected]> Tue, 15 Jun 2010 18:28:56 +0800
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
On 15-Jun-2010, at 5:35 PM, Sebastian Spaeth wrote: > On 2010-06-15, Wari Wahab wrote: >> BTW does this mean pybloxsom itself can be a general error handler, with the main code takes in return code 200 as its main job. Also, can this be overridden as well for some special use case? > > Hehe, yes, that callback is called pyblosxom renderer :) :P Nope, Rederers take in whatever the resulting result set is, and put out html/rss/etc. Almost the final chain of things. The 404/200/403, etc.. callback might not what to have the code to return html.. Bah, just a minor nitpick. heh ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo