[FLOW3-general] set user agent in HTTP\Client\Browser

Christian Müller christian.mueller at typo3.org
Fri Feb 22 23:02:56 CET 2013


Hi Thomas,

On 22.02.13 13:56, Thomas Mammitzsch wrote:
> how can i set the user agent in \TYPO3\Flow\Http\Client\Browser instance?
Basically that is a header in the Request that is send, so you probably
want to create a Request object yourself and set the "User-Agent" header
yourself in the request.
Then you can use something like $browser->sendRequest($request)

Cheers,
Christian



More information about the FLOW3-general mailing list