(request)
| 2358 | return web.Response() |
| 2359 | |
| 2360 | async def expect_handler(request): |
| 2361 | nonlocal expect_called |
| 2362 | expect = request.headers.get(hdrs.EXPECT) |
| 2363 | if expect.lower() == "100-continue": |
| 2364 | request.transport.write(b"HTTP/1.1 100 Continue\r\n\r\n") |
| 2365 | expect_called = True |
| 2366 | |
| 2367 | app = web.Application() |
| 2368 | app.router.add_post("/", handler, expect_handler=expect_handler) |