Ticket #18577: middleware-init-docs-update.diff

File middleware-init-docs-update.diff, 570 bytes (added by Łukasz Balcerzak, 4 years ago)
  • docs/topics/http/middleware.txt

    diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt
    index a768a3b..fe92bc5 100644
    a b of caveats: 
    199199  define ``__init__`` as requiring any arguments.
    201201* Unlike the ``process_*`` methods which get called once per request,
    202   ``__init__`` gets called only *once*, when the Web server starts up.
     202  ``__init__`` gets called only *once*, when the Web server responds to the
     203  first request.
    204205Marking middleware as unused
Back to Top