honeyhttpd icon indicating copy to clipboard operation
honeyhttpd copied to clipboard

MyHandler has no attribute 'headers'

Open micsthepick opened this issue 7 months ago • 0 comments

Traceback (most recent call last):
  File "/usr/lib/python3.11/socketserver.py", line 691, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.11/socketserver.py", line 361, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.11/socketserver.py", line 755, in __init__
    self.handle()
  File "/usr/lib/python3.11/http/server.py", line 436, in handle
    self.handle_one_request()
  File "/usr/lib/python3.11/http/server.py", line 414, in handle_one_request
    if not self.parse_request():
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/http/server.py", line 316, in parse_request
    self.send_error(
  File "/home///honeyhttpd/honeyhttpd/lib/server.py", line 58, in send_error
AttributeError: 'MyHandler' object has no attribute 'headers'

micsthepick avatar Jun 26 '24 21:06 micsthepick