From 8f4e7a40dc9bebfe5180fbed329013f4cd670996 Mon Sep 17 00:00:00 2001 From: enekochan Date: Fri, 19 Jan 2018 00:21:20 +0100 Subject: [PATCH] Fix YAML indentation Use same 4 spaces indentation in full configuration. Completes #219 --- integrations/symfony-full-configuration.rst | 30 ++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/integrations/symfony-full-configuration.rst b/integrations/symfony-full-configuration.rst index 5c7e00d..d48501c 100644 --- a/integrations/symfony-full-configuration.rst +++ b/integrations/symfony-full-configuration.rst @@ -86,26 +86,26 @@ This page shows an example of all configuration values provided by the bundle. default_ttl: 120 # Can configure plugins that can not be configured globally - add_host: - # Host name including protocol and optionally the port number, e.g. https://api.local:8000 - host: http://localhost:80 # Required - # Whether to replace the host if request already specifies it - replace: false + # Host name including protocol and optionally the port number, e.g. https://api.local:8000 + host: http://localhost:80 # Required + # Whether to replace the host if request already specifies it + replace: false # Append headers to the request. If the header already exists the value will be appended to the current value. - 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. + # 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. # Set header to default value if it does not exist. - header_defaults: - # Keys are the header names, values the header values - headers: - 'X-FOO': bar + # Keys are the header names, values the header values + headers: + 'X-FOO': bar # Set headers to requests. If the header does not exist it wil be set, if the header already exists it will be replaced. - header_set: - # Keys are the header names, values the header values - headers: - 'X-FOO': bar + # Keys are the header names, values the header values + headers: + 'X-FOO': bar # Remove headers from requests. - header_remove: - # List of header names to remove - headers: ["X-FOO"] + # List of header names to remove + headers: ["X-FOO"]