how to patch a standard module
Gijsbert
gijsbert.de.haan@REDACTED
Thu Jan 13 16:52:23 CET 2011
Hi,
I'd like to extend httpd_request.erl to handle the OPTIONS method.
I've managed to do this by copying httpd_request.erl into my project
and making sure it overrides the standard version.
My question: is it possible to redefine a function in a standard
module at runtime? Then I could define my own validate(Method, Uri,
Version) function (just a few lines) and keep using the standard
httdp_request.erl.
Regards,
Gijsbert
More information about the erlang-questions
mailing list