Closes #19258: close WSGI server after handling request in demo code.
This commit is contained in:
parent
0b9a9fd3a0
commit
62e9580219
|
@ -153,3 +153,4 @@ if __name__ == '__main__':
|
|||
import webbrowser
|
||||
webbrowser.open('http://localhost:8000/xyz?abc')
|
||||
httpd.handle_request() # serve one request, then exit
|
||||
httpd.server_close()
|
||||
|
|
Loading…
Reference in New Issue