Closes #19258: close WSGI server after handling request in demo code.
This commit is contained in:
parent
0079ffc092
commit
d98d6cb451
|
@ -155,3 +155,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