! $request->setHeader('User-Agent', 'Testing!'); $request->setHeader('X-Foo', ['Baz', 'Bar']); $request->addHeader('X-Foo', 'Bam'); echo $request->getHeader('X-Foo'); // Baz, Bar, Bam $request->removeHeader('x-foo'); echo $request->getHeader('X-Foo'); // '' ! $res = $client->send($request);