From 1ee8ba98e1f20fa50313f5d3b38a254996c69083 Mon Sep 17 00:00:00 2001 From: enekochan Date: Thu, 8 Mar 2018 10:59:49 +0100 Subject: [PATCH 1/2] Added information about add_path using to symfony-full-configuration.rst Added information relative to php-http/HttplugBundle#256 . As an example using add_path configuration --- integrations/symfony-full-configuration.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integrations/symfony-full-configuration.rst b/integrations/symfony-full-configuration.rst index f2091f1..a687d38 100644 --- a/integrations/symfony-full-configuration.rst +++ b/integrations/symfony-full-configuration.rst @@ -90,6 +90,11 @@ This page shows an example of all configuration values provided by the bundle. host: http://localhost:80 # Required # Whether to replace the host if request already specifies it replace: false + - add_path: + # Path to be added, e.g. /api/v1 + path: /api/v1 # Required + # Whether to replace the path if request already specifies it + replace: false - base_uri: # Base Uri including protocol, optionally the port number and prepend path, e.g. https://api.local:8000/api uri: http://localhost:80 # Required From b159af16a7c3a5332fb7eee96e47cf9578a5def7 Mon Sep 17 00:00:00 2001 From: enekochan Date: Thu, 8 Mar 2018 11:28:22 +0100 Subject: [PATCH 2/2] Fix replace --- integrations/symfony-full-configuration.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/integrations/symfony-full-configuration.rst b/integrations/symfony-full-configuration.rst index a687d38..e9f4640 100644 --- a/integrations/symfony-full-configuration.rst +++ b/integrations/symfony-full-configuration.rst @@ -93,8 +93,6 @@ This page shows an example of all configuration values provided by the bundle. - add_path: # Path to be added, e.g. /api/v1 path: /api/v1 # Required - # Whether to replace the path if request already specifies it - replace: false - base_uri: # Base Uri including protocol, optionally the port number and prepend path, e.g. https://api.local:8000/api uri: http://localhost:80 # Required