New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass the -d/--directory command-line option to http.server.CGIHTTPRequestHandler #90594
Comments
The API of The
But the
So the option is ignored in that case. |
The use of partial may cause bugs! Here is reported that the |
Thanks for mentioning this issue @merwok. As you pointed out, function The partial object in the def finish_request(self, request, client_address):
"""Finish one request by instantiating RequestHandlerClass."""
self.RequestHandlerClass(request, client_address, self) But I have just updated my PR to implement this. It fixes both bpo-46285 and bpo-46436. |
Thanks again! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: