Subject: Re: [PATCH] instaweb: fix ip binding for the python http.server

From: Arti Zirk <[email-masked]>
Date: Wed, 15 Jan 2025 11:24:46 +0200

On R, 2025-01-10 at 18:13 +0800, Alecs King wrote:
> `git instaweb -d python` should bind the server to 0.0.0.0
> `git instaweb -d python -l` should bind the server to 127.0.0.1

Thanks for noticing that bug and sending a patch!

>  GitWebRequestHandler(CGIHTTPRequestHandler):

NB: Looks like CGI support will be removed some time in the future and
the Python backend for instaweb will stop working afterwards.

https://docs.python.org/3.13/library/http.server.html#http.server.CGIHTTPRequestHandler

When I get the time I should look into cleaning up the instaweb script.