arskom / spyne

A transport agnostic sync/async RPC library that focuses on exposing services with a well-defined API using popular protocols.
http://spyne.io
Other
1.13k stars 313 forks source link

how to set the web server url #623

Closed gaojingwei closed 5 years ago

gaojingwei commented 5 years ago
    from wsgiref.simple_server import make_server
    logging.basicConfig(level=logging.DEBUG)
    logging.info("wsdl is at: http://localhost:8801/?wsdl")
    server = make_server('127.0.0.1', 8801, application)
    server.serve_forever()

if use the above code, server url is: http://localhost:8801/, if I want to set url is: http://localhost:8801/aaa/bbb/ccc/ddd/, how to use call the make_server or use other function?