how to patch a standard module

Gijsbert <>
Thu Jan 13 16:52:23 CET 2011


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


More information about the erlang-questions mailing list