Mail::Milter::Authentication::HTDocs(3p)

NAME
Mail::Milter::Authentication::HTDocs - Load and serve static files via the in-built http server.

VERSION
version 3.20240701

DESCRIPTION
Load and serve static files via the in-build http server.

CONSTRUCTOR

  new()
Return a new instance of this class

METHODS

  get_whitelist()
Return an arrayref of valid URLs/Filenames whih are allowed to be served.

  get_basedir()
Return the base directory for htdocs files

  get_file( $file )
Return a full HTTP response for the given filename, or null if it does not exist.

AUTHOR
Marc Bradshaw <marc@marcbradshaw.net>

COPYRIGHT AND LICENSE
This software is copyright (c) 2020 by Marc Bradshaw.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.