Keep it short / down to the stuff that is needed

This commit is contained in:
Nico Schottelius 2019-09-26 22:57:09 +02:00
parent a10d9d4597
commit 2d79a810ee

View file

@ -149,15 +149,10 @@ IPv6, you can inherit from HTTPServer and set the address family to
*AF_INET6* as follows:
```
from http.server import HTTPServer
class HTTPServerV6(HTTPServer):
address_family = socket.AF_INET6
if __name__ == '__main__':
myv6server = HTTPServerV6
```
For more details on how to use the HTTPServer in general,
checkout
[this stackoverflow post](https://stackoverflow.com/questions/23264569/python-3-x-basehttpserver-or-http-server).