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:
#VERIFICATION- DONE-GROOVY
Using the webserver. py/client. py scripts defined in the test case section in the description:
$ dpkg -l | grep twisted 11ubuntu0. 20.10.1 all Event-based framework for internet applications twisted- bin:amd64 18.9.0- 11ubuntu0. 20.10.1 amd64 Event-based framework for internet applications
ii python3-twisted 18.9.0-
ii python3-
$ twistd3 -y webserver.py
$ ./client.py 059282
== BODY: --8825899812428
--8825899812428 059282- -
The multipart request works fine (it's logged at the end) and there's no exception thrown to the logs:
$ tail -n10 twistd.log 26T12:22: 39+0100 [-] Loading webserver.py... 26T12:22: 39+0100 [-] Loaded. 26T12:22: 39+0100 [twisted. scripts. _twistd_ unix.UnixAppLog ger#info] twistd 18.9.0 (/usr/bin/python3 3.8.6) starting up. 26T12:22: 39+0100 [twisted. scripts. _twistd_ unix.UnixAppLog ger#info] reactor class: twisted. internet. epollreactor. EPollReactor. 26T12:22: 39+0100 [-] Site starting on 8080 26T12:22: 39+0100 [twisted. web.server. Site#info] Starting factory <twisted. web.server. Site object at 0x7f1a8a192df0> 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)"
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-