2016-11-28から1日間の記事一覧
WSGIアプリの書き方について調べている時、 def application(environ, start_response): start_response('200 OK', [('Content-Type', 'text/plain')]) return [b"Hello, world."] や、 class MyWSGIApplication(object): def __call__(self, environ, start…
WSGIアプリの書き方について調べている時、 def application(environ, start_response): start_response('200 OK', [('Content-Type', 'text/plain')]) return [b"Hello, world."] や、 class MyWSGIApplication(object): def __call__(self, environ, start…