calloc'ing the options object in order to not rely on uninitialized data for jumps in various places
don't copy the path if it doesn't exist
adding methods for getting the raw (pre-standardized) request path and for overriding input parameters in --before scripts
fixing a potential memory leak
using a separate buffer for data written by pre-request scripts, to be written before other content (and by itself if mg.interrupt was called)
Appending Lua package paths relevant to whatever script is being executed prior to execution, rather than just once when the script context is created. This ensures that document-level scripts can find their sibling modules even if there's a pre-request script.
making status response 'meta' arguments actually optional, defaulting to generic messages
passing a copy into dirname because that method unintuitively modifies its argument
fixing build errors caused by missing headers when DISABLE_LOGGING is defined
ignoring SIGPIPE so that weird clients don't cause problems
adding a testing framework
adding command-line options for middleware to the README
moving URI path max definition
implementing pre-, post-, and error-script middleware functionality