Sat, 12 Nov 2022 17:28:32 +0100
improve error handling in send_file if the file is a directory
# # obj.conf # # NSAPI configuration # <Object name="default"> NameTrans fn="assign-name" from="/hello" name="hello" NameTrans fn="assign-name" from="/admin" name="admin" PathCheck fn="find-pathinfo" ObjectType fn="type-by-extension" Service fn="send-options" method="OPTIONS" Service fn="common-index" type="internal/directory" Service fn="send-file" AddLog fn="common-log" </Object> <Object name="hello"> Service fn="service-hello" </Object> <Object name="admin"> Service fn="admin-service" </Object> <Object name="cgi-bin"> Service fn="send-cgi" </Object>