Skip to content

Commit

Permalink
Fix "ValueError: I/O operation on closed file" in python/http/server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vitlibar committed Oct 23, 2024
1 parent 5cf74f4 commit 871b938
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ def do_HEAD(self):
self.send_header(k, v)
self.end_headers()
self.wfile.write(r.content)
self.wfile.close()


class ThreadedHTTPServer(socketserver.ThreadingMixIn, http.server.HTTPServer):
Expand Down

0 comments on commit 871b938

Please sign in to comment.