Author rjayne
Recipients rjayne
Date 2019-08-13.17:04:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565715867.88.0.342712762269.issue37843@roundup.psfhosted.org>
In-reply-to
Content
In Lib/http/server.py

    if args.cgi:
        handler_class = CGIHTTPRequestHandler
    else:
        handler_class = partial(SimpleHTTPRequestHandler,
                                directory=args.directory)

Notice that CGIHTTPRequestHandler does not accept directory=args.directory, and so the option does not work with the --cgi option.
History
Date User Action Args
2019-08-13 17:04:27rjaynesetrecipients: + rjayne
2019-08-13 17:04:27rjaynesetmessageid: <1565715867.88.0.342712762269.issue37843@roundup.psfhosted.org>
2019-08-13 17:04:27rjaynelinkissue37843 messages
2019-08-13 17:04:27rjaynecreate