diff --git a/specs/www.rst b/specs/www.rst index b66b813b..076fa7a4 100644 --- a/specs/www.rst +++ b/specs/www.rst @@ -414,6 +414,17 @@ with the close code passed in the message (or 1000 if none is specified). spec. Optional; if missing defaults to ``1000``. +Path, raw_path and root_path +---------------------------- + +The ``root_path``, defaulting to ``""``, should match the start of any +request target, if it doesn't the server should respond with a 404 +response. The ``path`` should then be constructed as the ``raw_path`` +excluding the ``root_path`` prefix. In the case where the resulting +``path`` is equal to the empty string, ``""``, it should be set to +``"/"``. + + WSGI Compatibility ------------------