You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
127.0.0.1 - - [23/Feb/2024 16:03:37] "POST /cgi-bin/upload HTTP/1.1" 200 -
Did not find boundary character '-' at index 2
Traceback (most recent call last):
File "/home/krzysztof/cgi-bin/upload", line 28, in <module>
multipart.parse_form (
File "/usr/lib/python3/dist-packages/multipart/multipart.py", line 1902, in parse_form
parser.write(buff)
File "/usr/lib/python3/dist-packages/multipart/multipart.py", line 1794, in write
return self.parser.write(data)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/multipart/multipart.py", line 1076, in write
l = self._internal_write(data, data_len)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/multipart/multipart.py", line 1183, in _internal_write
raise e
multipart.exceptions.MultipartParseError: Did not find boundary character '-' at index 2
127.0.0.1 - - [23/Feb/2024 16:03:37] CGI script exit code 1
The text was updated successfully, but these errors were encountered:
I tried using
multipart
from Python modulehttp.server
. It did not work. What am I doing wrong (apart from everything)?Server script
Server command
Payload
Server log
The text was updated successfully, but these errors were encountered: