Skip to content

aiohttp 1.2.0

Compare
Choose a tag to compare
@asvetlov asvetlov released this 17 Dec 04:37
· 7575 commits to master since this release

CHANGES

  • Extract BaseRequest from web.Request, introduce web.Server
    (former RequestHandlerFactory), introduce new low-level web server
    which is not coupled with web.Application and routing #1362
  • Make TestServer.make_url compatible with yarl.URL #1389
  • Implement range requests for static files #1382
  • Support task attribute for StreamResponse #1410
  • Drop TestClient.app property, use TestClient.server.app instead
    (BACKWARD INCOMPATIBLE)
  • Drop TestClient.handler property, use TestClient.server.handler instead
    (BACKWARD INCOMPATIBLE)
  • TestClient.server property returns a test server instance, was
    asyncio.AbstractServer (BACKWARD INCOMPATIBLE)
  • Follow gunicorn's signal semantics in Gunicorn[UVLoop]WebWorker #1201
  • Call worker_int and worker_abort callbacks in
    Gunicorn[UVLoop]WebWorker #1202
  • Has functional tests for client proxy #1218
  • Fix bugs with client proxy target path and proxy host with port #1413
  • Fix bugs related to the use of unicode hostnames #1444
  • Preserve cookie quoting/escaping #1453
  • FileSender will send gzipped response if gzip version available #1426
  • Don't override Content-Length header in web.Response if no body
    was set #1400
  • Introduce router.post_init() for solving #1373
  • Fix raise error in case of multiple calls of TimeServive.stop()
  • Allow to raise web exceptions on router resolving stage #1460
  • Add a warning for session creation outside of coroutine #1468
  • Avoid a race when application might start accepting incoming requests
    but startup signals are not processed yet e98e8c6
  • Raise a RuntimeError when trying to change the status of the HTTP response
    after the headers have been sent #1480
  • Fix bug with https proxy acquired cleanup #1340
  • Use UTF-8 as the default encoding for multipart text parts #1484