diff --git a/integrations/symfony-bundle.rst b/integrations/symfony-bundle.rst index 16365fc..aa9c451 100644 --- a/integrations/symfony-bundle.rst +++ b/integrations/symfony-bundle.rst @@ -15,7 +15,7 @@ Installation Using Symfony Flex ------------------ -HttplugBundle is officialy supported by `Symfony Flex`_ and available as the ``http`` alias. +HttplugBundle is officially supported by `Symfony Flex`_ and available as the ``http`` alias. .. code-block:: bash diff --git a/integrations/symfony-full-configuration.rst b/integrations/symfony-full-configuration.rst index 76a042b..8bcb43c 100644 --- a/integrations/symfony-full-configuration.rst +++ b/integrations/symfony-full-configuration.rst @@ -108,7 +108,7 @@ This page shows an example of all configuration values provided by the bundle. - header_append: # Keys are the header names, values the header values headers: - 'X-FOO': bar # contrary to default symfony behaviour, hyphens "-" are NOT translated to underscores "_" for the headers. + 'X-FOO': bar # contrary to default symfony behavior, hyphens "-" are NOT translated to underscores "_" for the headers. # Set header to default value if it does not exist. - header_defaults: # Keys are the header names, values the header values diff --git a/plugins/cache.rst b/plugins/cache.rst index ed93f9d..edb542b 100644 --- a/plugins/cache.rst +++ b/plugins/cache.rst @@ -107,7 +107,7 @@ which allow you to specify what HTTP header you want include in the cache key. Controlling cache listeners ``````````````````````````` -One or more classes implementing ``CacheListener`` can be added through ``cache_listeners``. These classes recieve a +One or more classes implementing ``CacheListener`` can be added through ``cache_listeners``. These classes receive a notification on whether a request was a cache hit or miss, and can optionally mutate the response based on those signals. As an example, adding the provided ``AddHeaderCacheListener`` will mutate the response, adding an ``X-Cache`` header with a value ``HIT`` or ``MISS``, which can be useful in debugging. diff --git a/plugins/retry.rst b/plugins/retry.rst index 0d8b702..748972a 100644 --- a/plugins/retry.rst +++ b/plugins/retry.rst @@ -8,7 +8,7 @@ code in the 5xx server error range. Since version 2.0, responses with status codes in the 5xx range are also retried. Each retry attempt is delayed by an exponential backoff time. -See below for how to configure that behaviour. +See below for how to configure that behavior. .. warning:: @@ -32,22 +32,22 @@ Options Number of retry attempts to make before giving up. -``error_response_decider``: callable (default behaviour: retry if status code is in 5xx range) +``error_response_decider``: callable (default behavior: retry if status code is in 5xx range) A callback function that receives the request and response to decide whether the request should be retried. -``exception_decider``: callable (default behaviour: retry if the exception is not an HttpException or status code is in 5xx range) +``exception_decider``: callable (default behavior: retry if the exception is not an HttpException or status code is in 5xx range) A callback function that receives a request and an exception to decide after a failure whether the request should be retried. -``error_response_delay``: callable (default behaviour: exponential backoff) +``error_response_delay``: callable (default behavior: exponential backoff) A callback that receives a request, a response, the current number of retries and returns how many microseconds we should wait before trying again. -``exception_delay``: callable (default behaviour: exponential backoff) +``exception_delay``: callable (default behavior: exponential backoff) A callback that receives a request, an exception, the current number of retries and returns how many microseconds we should wait before trying again. diff --git a/spelling_word_list.txt b/spelling_word_list.txt index 9439461..5aef073 100644 --- a/spelling_word_list.txt +++ b/spelling_word_list.txt @@ -1,12 +1,14 @@ Artax async auth +backoff backtrace boolean callables chunked cURL Diactoros +discoverable Elasticsearch fallback GitHub @@ -15,15 +17,20 @@ Liskov Symfony HTTPlug Ivory +instantiation +integrations +interoperability namespace plugin plugins matchers +matcher multipart param params profiler PHP +phpdoc Puli rebase Semver @@ -31,8 +38,10 @@ sexualized sublicense sync toolbar +typehint username versa +versionadded whitelist wiki Wikipedia