Any objection I add UrlHandlers and DefaultFun to the #http record.
Would be usefull for any custom handler that need to use the
http_handler and not only the db and design http handlers. Like for
example in the rewriter.
So record would become :
-record(httpd,
{mochi_req,
peer,
method,
path_parts,
db_url_handlers,
user_ctx,
req_body = undefined,
design_url_handlers,
auth,
default_fun,
url_handlers
}).
This is really a small change but very useful since we don't need to
have read a new time the ini for that.
- benoit