Comment 10 for bug 1915819

Revision history for this message
Victor Tapia (vtapia) wrote :

#VERIFICATION-DONE-GROOVY

Using the webserver.py/client.py scripts defined in the test case section in the description:

$ dpkg -l | grep twisted
ii python3-twisted 18.9.0-11ubuntu0.20.10.1 all Event-based framework for internet applications
ii python3-twisted-bin:amd64 18.9.0-11ubuntu0.20.10.1 amd64 Event-based framework for internet applications

$ twistd3 -y webserver.py

$ ./client.py
== BODY: --8825899812428059282

--8825899812428059282--

The multipart request works fine (it's logged at the end) and there's no exception thrown to the logs:

$ tail -n10 twistd.log
2021-02-26T12:22:39+0100 [-] Loading webserver.py...
2021-02-26T12:22:39+0100 [-] Loaded.
2021-02-26T12:22:39+0100 [twisted.scripts._twistd_unix.UnixAppLogger#info] twistd 18.9.0 (/usr/bin/python3 3.8.6) starting up.
2021-02-26T12:22:39+0100 [twisted.scripts._twistd_unix.UnixAppLogger#info] reactor class: twisted.internet.epollreactor.EPollReactor.
2021-02-26T12:22:39+0100 [-] Site starting on 8080
2021-02-26T12:22:39+0100 [twisted.web.server.Site#info] Starting factory <twisted.web.server.Site object at 0x7f1a8a192df0>
2021-02-26T12:22:45+0100 [twisted.python.log#info] 127.0.0.1 - - [26/Feb/2021:11:22:44 +0000] "POST / HTTP/1.1" 404 153 "-" "Python-httplib2/0.18.1 (gzip)"