Merge pull request #50 from cwille97/server_header_docs

Document default server header
This commit is contained in:
Andrew Rabert 2022-05-06 09:35:44 -04:00 committed by GitHub
commit ef3baa194a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -210,6 +210,12 @@ class Application(CallbackManager, web.Application):
Note that much of the functionality is implemented in
:class:`.CallbackManager`.
.. rubric:: settings['server']
If the `server` parameter is provided, it will be used for the server
header. Otherwise, the server header will default as
``{service}/{version}`` or ``{service}``.
"""
def __init__(self, *args, **kwargs):