@@ -95,6 +95,16 @@ public function testClientPlugins(): void
95
95
'host ' => 'http://localhost:8000 ' ,
96
96
],
97
97
],
98
+ [
99
+ 'add_path ' => [
100
+ 'path ' => '/v1 ' ,
101
+ ],
102
+ ],
103
+ [
104
+ 'base_uri ' => [
105
+ 'uri ' => 'https://localhost:8000/v1 ' ,
106
+ ],
107
+ ],
98
108
[
99
109
'content_type ' => [
100
110
'skip_detection ' => true ,
@@ -120,6 +130,14 @@ public function testClientPlugins(): void
120
130
'headers ' => ['X-FOO ' ],
121
131
],
122
132
],
133
+ [
134
+ 'request_seekable_body ' => [
135
+ 'use_file_buffer ' => true ,
136
+ ],
137
+ ],
138
+ [
139
+ 'response_seekable_body ' => true ,
140
+ ],
123
141
[
124
142
'query_defaults ' => [
125
143
'parameters ' => ['locale ' => 'en ' ],
@@ -153,11 +171,15 @@ public function testClientPlugins(): void
153
171
'httplug.client.acme.plugin.decoder ' ,
154
172
'httplug.plugin.redirect ' ,
155
173
'httplug.client.acme.plugin.add_host ' ,
174
+ 'httplug.client.acme.plugin.add_path ' ,
175
+ 'httplug.client.acme.plugin.base_uri ' ,
156
176
'httplug.client.acme.plugin.content_type ' ,
157
177
'httplug.client.acme.plugin.header_append ' ,
158
178
'httplug.client.acme.plugin.header_defaults ' ,
159
179
'httplug.client.acme.plugin.header_set ' ,
160
180
'httplug.client.acme.plugin.header_remove ' ,
181
+ 'httplug.client.acme.plugin.request_seekable_body ' ,
182
+ 'httplug.client.acme.plugin.response_seekable_body ' ,
161
183
'httplug.client.acme.plugin.query_defaults ' ,
162
184
'httplug.client.acme.authentication.my_basic ' ,
163
185
'httplug.client.acme.plugin.cache ' ,
0 commit comments