From ee13f3c706f97b283663a2b7560ecd9959518827 Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 17 Nov 2017 11:16:17 +0200 Subject: [PATCH] Fix config for eightpoints/guzzle-bundle --- .../7.0/config/packages/eight_points_guzzle.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml b/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml index 7e294038..da356519 100644 --- a/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml +++ b/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml @@ -1,15 +1,16 @@ eight_points_guzzle: clients: my_client: + # Write here the host where to do requests base_url: "http://target.url" options: timeout: 30 - # Configure headers. Ex: what do you accept as response (application/json, text/html, etc..) + # Configure headers. # More info: http://docs.guzzlephp.org/en/stable/request-options.html#headers headers: - Accept: "application/json" + User-Agent: "EightpointsGuzzleBundle/7.0" # Find plugins here: # https://github.com/8p/EightPointsGuzzleBundle#known-and-supported-plugins