@@ -95,6 +95,16 @@ public function testClientPlugins(): void
9595 'host ' => 'http://localhost:8000 ' ,
9696 ],
9797 ],
98+ [
99+ 'add_path ' => [
100+ 'path ' => '/v1 ' ,
101+ ],
102+ ],
103+ [
104+ 'base_uri ' => [
105+ 'uri ' => 'https://localhost:8000/v1 ' ,
106+ ],
107+ ],
98108 [
99109 'content_type ' => [
100110 'skip_detection ' => true ,
@@ -120,6 +130,14 @@ public function testClientPlugins(): void
120130 'headers ' => ['X-FOO ' ],
121131 ],
122132 ],
133+ [
134+ 'request_seekable_body ' => [
135+ 'use_file_buffer ' => true ,
136+ ],
137+ ],
138+ [
139+ 'response_seekable_body ' => true ,
140+ ],
123141 [
124142 'query_defaults ' => [
125143 'parameters ' => ['locale ' => 'en ' ],
@@ -153,11 +171,15 @@ public function testClientPlugins(): void
153171 'httplug.client.acme.plugin.decoder ' ,
154172 'httplug.plugin.redirect ' ,
155173 'httplug.client.acme.plugin.add_host ' ,
174+ 'httplug.client.acme.plugin.add_path ' ,
175+ 'httplug.client.acme.plugin.base_uri ' ,
156176 'httplug.client.acme.plugin.content_type ' ,
157177 'httplug.client.acme.plugin.header_append ' ,
158178 'httplug.client.acme.plugin.header_defaults ' ,
159179 'httplug.client.acme.plugin.header_set ' ,
160180 'httplug.client.acme.plugin.header_remove ' ,
181+ 'httplug.client.acme.plugin.request_seekable_body ' ,
182+ 'httplug.client.acme.plugin.response_seekable_body ' ,
161183 'httplug.client.acme.plugin.query_defaults ' ,
162184 'httplug.client.acme.authentication.my_basic ' ,
163185 'httplug.client.acme.plugin.cache ' ,
0 commit comments