Skip to content

Commit 184f376

Browse files
committed
example.py: specify port 4000 explicitly
As port is now default to 0, the quick and dirty fix for the example was to specify the port explicitly.
1 parent 6875ec6 commit 184f376

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def foobar(request):
1010
return "Hello world!"
1111

1212

13-
server = HTTPServer()
13+
server = HTTPServer(port=4000)
1414
server.expect_request("/foobar").respond_with_json({"foo": "bar"})
1515
server.start()
1616
try:

0 commit comments

Comments
 (0)