mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-01 18:21:30 +08:00
- Bump version to 25.0.2 - Update copyright year to 2026 in LICENSE and NOTICE - Add license headers to all Python source files - Add changelog entry for 25.0.2
18 lines
444 B
Python
18 lines
444 B
Python
#
|
|
# This file is part of gunicorn released under the MIT license.
|
|
# See the NOTICE for more information.
|
|
|
|
from pyramid.config import Configurator
|
|
from pyramid.response import Response
|
|
|
|
def hello_world(request):
|
|
return Response('Hello world!')
|
|
|
|
def goodbye_world(request):
|
|
return Response('Goodbye world!')
|
|
|
|
config = Configurator()
|
|
config.add_view(hello_world)
|
|
config.add_view(goodbye_world, name='goodbye')
|
|
app = config.make_wsgi_app()
|