New submission from Hugo Almeida :
Hi,
Sorry for my poor English, this is not a spam issue.
How to reproduce
File about `http/server.py`, line 1235 at main branch.
1st, change `protocol_version`, e.g. from "HTTP/1.0" to "HTTP/1.1":
--- proto
Hugo Almeida added the comment:
update
==
It seems I've found the problem, http/server.py#L1277-L1288:
```
handler_class = partial(SimpleHTTPRequestHandler,
directory=args.directory)
```
Because of `partial` (provide by the functools m
Hugo Almeida added the comment:
The short story is, everything is okay,
its my bad to taken the test function out of context,
sorry about that of issue report.
# just for details review (related file attached):
#
# check line 1277 to line 1278 (main branch of Python currently):
# https
Hugo Almeida added the comment:
Hi, buddy, there is no problem if invoke the http.server.test function as its
designed, I mean the function iteself is okay, thus http/server.py invoked it
via the functools.partial wrapper (handler_class) only will case this issue,
which technically ignored
Hugo Almeida added the comment:
Hi Éric, thank you so much.
I know only a little usage of closure and functools.partial but not the
historical/relative knowledge of their design/feature, I mean this issue have 2
visual, the partical object not working as it expected or we are not calling