Open sarnobat opened 6 years ago
@wolf71 can you look at this error, please? I'm getting this error too on termux on android. I connected to it via Kodi and get this error continuously every time I try to access the server.
Relevant Information:
3.11.9
0.118.0
```python Exception occurred during processing of request from ('***.***.*.***', 63277) Traceback (most recent call last): File "/data/data/com.termux/files/usr/lib/python3.11/socketserver.py", line 691, in process_request_thread self.finish_request(request, client_address) File "/data/data/com.termux/files/home/webdav3.py", line 819, in finish_request HTTPServer.finish_request(self, request, client_address) File "/data/data/com.termux/files/usr/lib/python3.11/socketserver.py", line 361, in finish_request self.RequestHandlerClass(request, client_address, self) File "/data/data/com.termux/files/usr/lib/python3.11/socketserver.py", line 755, in __init__ self.handle() File "/data/data/com.termux/files/usr/lib/python3.11/http/server.py", line 436, in handle self.handle_one_request() File "/data/data/com.termux/files/home/webdav3.py", line 435, in handle_one_request super().handle_one_request() File "/data/data/com.termux/files/usr/lib/python3.11/http/server.py", line 424, in handle_one_request method() File "/data/data/com.termux/files/home/webdav3.py", line 680, in do_GET fullen = props['getcontentlength'] ~~~~~^^^^^^^^^^^^^^^^^^^^ KeyError: 'getcontentlength' ```
command
Then I go to
http://localhost:8000
output