Skip to content

Commit

Permalink
new comment added
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Nov 14, 2014
1 parent ac9f9db commit a9b241c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/netius/extra/hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@
import netius.servers

class HelloServer(netius.servers.HTTPServer):
"""
Simple Hello (World) HTTP server meant to be used for benchmarks
and other operations that require a simple in-memory HTTP server.
Most of the implementation on the server is done in the upper
layers from which this server class inherits.
Performance should always be considered critical when changing
or adding new features to this server implementation.
"""

def __init__(self, message = "Hello World", *args, **kwargs):
netius.servers.HTTPServer.__init__(self, *args, **kwargs)
Expand Down

0 comments on commit a9b241c

Please sign in to comment.