Public Member Functions | |
def | setUp |
def | tearDown |
def | test_unix_socket |
def | test_unix_socket_bad_request |
Public Attributes | |
server | |
sockfile | |
stream | |
tmpdir |
HTTPServers can listen on Unix sockets too. Why would you want to do this? Nginx can proxy to backends listening on unix sockets, for one thing (and managing a namespace for unix sockets can be easier than managing a bunch of TCP port numbers). Unfortunately, there's no way to specify a unix socket in a url for an HTTP client, so we have to test this by hand.
Definition at line 530 of file httpserver_test.py.
Definition at line 540 of file httpserver_test.py.
Definition at line 552 of file httpserver_test.py.
Definition at line 558 of file httpserver_test.py.
Definition at line 569 of file httpserver_test.py.
Definition at line 540 of file httpserver_test.py.
Definition at line 540 of file httpserver_test.py.
Definition at line 540 of file httpserver_test.py.
Definition at line 540 of file httpserver_test.py.