GitLab Commit is coming up on August 3-4. Learn how to innovate together using GitLab, the DevOps platform. Register for free: gitlabcommitvirtual2021.com

  1. 12 Jun, 2021 3 commits
  2. 16 May, 2021 1 commit
  3. 21 Apr, 2021 2 commits
  4. 19 Apr, 2021 2 commits
  5. 07 Feb, 2021 2 commits
  6. 27 Jan, 2021 4 commits
    • pgjones's avatar
      Bugfix ensure keep alive timeout is cancelled on closure · 01c6e82e
      pgjones authored
      This resolves one of the test warnings and logically makes sense to
      do.
      01c6e82e
    • pgjones's avatar
      Fix latest mypy release issues · 3714b5c7
      pgjones authored
      It seems to have not recognised these files before now, mypy relase
      0.800.
      3714b5c7
    • pgjones's avatar
      Correctly utilise SCRIPT_NAME in the wsgi middleware · 20f223e8
      pgjones authored
      If a root_path (WSGI SCRIPT_NAME) is specified the server should
      return 404 to any requests that have a path that do not start with the
      SCRIPT_NAME. The server should also adjust the path to remove the
      SCRIPT_NAME, whilst keeping the raw_path intact.
      
      This allows the SCRIPT_NAME to be used as a global prefix to all
      routes served using the WSGI middleware.
      20f223e8
    • pgjones's avatar
      Revert "Bugfix the root_path handling" · 08c948df
      pgjones authored
      This reverts commit c9dd670e.
      
      The ASGI spec is quite clear that this isn't how it should work for
      ASGI, rather this functionality should be part of any ASGI application
      code.
      08c948df
  7. 21 Jan, 2021 1 commit
    • pgjones's avatar
      Bugfix the root_path handling · c9dd670e
      pgjones authored
      If a root_path is specified the server should return 404 to any
      requests that have a path that do not start with the root_path. The
      server should also adjust the path to remove the root_path, whilst
      keeping the raw_path intact.
      
      This allows the root_path to be used as a global prefix to all routes
      served.
      c9dd670e
  8. 10 Jan, 2021 3 commits
  9. 24 Dec, 2020 3 commits
    • pgjones's avatar
      Fix 39094e72 · 5fd8ac67
      pgjones authored
      5fd8ac67
    • pgjones's avatar
      Add typing for the ASGI messages · 39094e72
      pgjones authored
      This makes use of the TypedDict (added to Python in 3.8 and available
      in the typing_extensions package) to specify the types of the key
      values in the ASGI messages. This then ensures that the messages are
      correctly constructued and used in the code.
      
      Note the type ignores are due to this issue
      https://github.com/python/mypy/issues/8533.
      39094e72
    • pgjones's avatar
      Add typing for the ASGI scopes · 5f93a2c9
      pgjones authored
      This makes use of the TypedDict (added to Python in 3.8 and available
      in the typing_extensions package) to specify the types of the key
      values in the ASGI scopes. This then ensures that the scopes are
      correctly constructued and used in the code.
      5f93a2c9
  10. 10 Dec, 2020 2 commits
  11. 04 Dec, 2020 1 commit
    • pgjones's avatar
      Catch KeyboardInterrupt · df99d163
      pgjones authored
      It may be raised here, rather than in the worker_serve depending on
      the system (Windows does this).
      df99d163
  12. 29 Nov, 2020 2 commits
  13. 22 Nov, 2020 3 commits
  14. 07 Oct, 2020 3 commits
  15. 05 Oct, 2020 4 commits
  16. 04 Oct, 2020 1 commit
  17. 01 Oct, 2020 1 commit
  18. 27 Sep, 2020 2 commits