@@ -86,26 +86,26 @@ This page shows an example of all configuration values provided by the bundle.
86
86
default_ttl : 120
87
87
# Can configure plugins that can not be configured globally
88
88
- add_host :
89
- # Host name including protocol and optionally the port number, e.g. https://api.local:8000
90
- host : http://localhost:80 # Required
91
- # Whether to replace the host if request already specifies it
92
- replace : false
89
+ # Host name including protocol and optionally the port number, e.g. https://api.local:8000
90
+ host : http://localhost:80 # Required
91
+ # Whether to replace the host if request already specifies it
92
+ replace : false
93
93
# Append headers to the request. If the header already exists the value will be appended to the current value.
94
94
- header_append :
95
- # Keys are the header names, values the header values
96
- headers :
97
- ' X-FOO ' : bar # contrary to default symfony behaviour, hyphens "-" are NOT translated to underscores "_" for the headers.
95
+ # Keys are the header names, values the header values
96
+ headers :
97
+ ' X-FOO ' : bar # contrary to default symfony behaviour, hyphens "-" are NOT translated to underscores "_" for the headers.
98
98
# Set header to default value if it does not exist.
99
99
- header_defaults :
100
- # Keys are the header names, values the header values
101
- headers :
102
- ' X-FOO ' : bar
100
+ # Keys are the header names, values the header values
101
+ headers :
102
+ ' X-FOO ' : bar
103
103
# Set headers to requests. If the header does not exist it wil be set, if the header already exists it will be replaced.
104
104
- header_set :
105
- # Keys are the header names, values the header values
106
- headers :
107
- ' X-FOO ' : bar
105
+ # Keys are the header names, values the header values
106
+ headers :
107
+ ' X-FOO ' : bar
108
108
# Remove headers from requests.
109
109
- header_remove :
110
- # List of header names to remove
111
- headers : ["X-FOO"]
110
+ # List of header names to remove
111
+ headers : ["X-FOO"]
0 commit comments