diff --git a/source/configuration.rst b/source/configuration.rst index e043cd92..d69192df 100644 --- a/source/configuration.rst +++ b/source/configuration.rst @@ -125,7 +125,7 @@ to the **main** Also, **pass** values can be `percent encoded -`__. +`__. For example, you can escape slashes in entity names: .. code-block:: json @@ -860,10 +860,10 @@ define patterns to be compared to the request's properties: * - **arguments** - Arguments supplied with the request's `query string - `__; + `__; these names and value pairs are `percent decoded - `__, + `__, with plus signs (**+**) replaced by spaces. @@ -879,14 +879,14 @@ define patterns to be compared to the request's properties: * - **headers** - `Header fields - `__ + `__ supplied with the request. - No * - **host** - **Host** `header field - `__, + `__, converted to lower case and normalized by removing the port number and the trailing period (if any). @@ -900,9 +900,9 @@ define patterns to be compared to the request's properties: * - **query** - `Query string - `__, + `__, `percent decoded - `__, + `__, with plus signs (**+**) replaced by spaces. @@ -924,14 +924,14 @@ define patterns to be compared to the request's properties: - `Request target `__, `percent decoded - `__ + `__ and normalized by removing the `query string - `__ + `__ and resolving `relative references - `__ + `__ ("." and "..", "//"). - Yes @@ -1227,7 +1227,7 @@ modify this behavior: Argument names, non-regex string patterns in **arguments**, **query**, and **uri** can be `percent encoded - `__ + `__ to mask special characters (**!** is **%21**, **~** is **%7E**, ***** is **%2A**, **%** is **%25**) @@ -1418,7 +1418,7 @@ Address-based patterns define individual IPv4 `__), IPv6 (hexadecimal or `CIDR -`__), +`__), or any `UNIX domain socket `__ addresses @@ -1771,7 +1771,7 @@ There's a number of built-in variables available: * - **host** - **Host** `header field - `__, + `__, converted to lower case and normalized by removing the port number and the trailing period (if any). @@ -1796,10 +1796,10 @@ There's a number of built-in variables available: * - **request_uri** - Request target `path - `__ + `__ *including* the `query - `__, + `__, normalized by resolving relative path references ("." and "..") and collapsing adjacent slashes. @@ -1825,20 +1825,20 @@ There's a number of built-in variables available: * - **uri** - Request target `path - `__ + `__ *without* the `query - `__ + `__ part, normalized by resolving relative path references ("." and "..") and collapsing adjacent slashes. The value is `percent decoded - `__: + `__: Unit interpolates all percent-encoded entities in the request target `path - `__. + `__. These variables can be used with: @@ -5375,7 +5375,7 @@ In turn, the **http** option exposes the following settings: made of alphanumeric characters and hyphens (see `RFC 9110 - `__); + `__); otherwise, these characters are also permitted: **.!#$%&'*+^_`|~**. diff --git a/source/howto/laravel.rst b/source/howto/laravel.rst index aba2f6e3..0ea16c34 100644 --- a/source/howto/laravel.rst +++ b/source/howto/laravel.rst @@ -14,7 +14,7 @@ To run apps based on the `Laravel `_ framework using Unit: #. .. include:: ../include/howto_install_prereq.rst #. Create a |app| `project - `__. + `__. For our purposes, the path is **/path/to/app/**: .. code-block:: console diff --git a/source/howto/responder.rst b/source/howto/responder.rst index a517f536..803d497f 100644 --- a/source/howto/responder.rst +++ b/source/howto/responder.rst @@ -2,21 +2,21 @@ .. |mod| replace:: Python 3.6+ .. |app-pip-package| replace:: responder .. |app-pip-link| replace:: PIP package -.. _app-pip-link: https://responder.kennethreitz.org/en/latest/#installing-responder +.. _app-pip-link: https://responder.kennethreitz.org/#installing-responder ######### Responder ######### To run apps built with the `Responder -`_ web framework using Unit: +`_ web framework using Unit: #. .. include:: ../include/howto_install_unit.rst #. .. include:: ../include/howto_install_venv.rst #. Let's try a Unit-friendly version of a `tutorial app - `_, + `_, saving it as **/path/to/app/asgi.py**: .. code-block:: python @@ -35,7 +35,7 @@ To run apps built with the `Responder The **app.run()** call is omitted because **app** will be directly run by Unit as an ASGI `callable - `_. + `_. #. .. include:: ../include/howto_change_ownership.rst diff --git a/source/installation.rst b/source/installation.rst index e892fddf..71f636b8 100644 --- a/source/installation.rst +++ b/source/installation.rst @@ -2297,7 +2297,7 @@ Community Repositories # rcctl restart unit # Necessary for Unit to pick up any changes in language module setup To install Unit from - `OpenBSD ports `_, + `OpenBSD ports `_, start by updating your port collection, for example: