Step 10 (S-53805)

From Stepik Wiki
Jump to: navigation, search

Step on Stepik: https://stepik.org/lesson/14826/step/10

Какие из WSGI приложений корректны ?

A)


def app(env, start_response):    start_response('200 OK', [('Content-Type', 'text/plain')])    return  ['Hello, world!']


B)


def application(env, start_response):    start_response('200 OK')    return  ['Hello, world!']


C)


def application(env, start_response):    start_response('200 OK', [('Content-Type', 'text/plain')])    return  'Hello, world!'


D)


def application(env):    return  ['Hello, world!']