Forum Discussion
Kimihito
May 26, 2014Employee
Linerate : HTTP API request.headers User-Agent property
Hello,
I am trying to parse HTTP client request header and match 'User-Agent', 'Host' etc.
I can not access User-Agent while I can access Host and Accept header. Pls see below.
// Play with re...
Ashok_Mudukutor
May 26, 2014Historic F5 Account
Note that header keys in the server-request object are lower-case. To view the 'User-Agent' header, you could do something like: console.log(servReq.headers['user-agent']);
- KimihitoMay 26, 2014EmployeeThanks Ashok. It is working now. B.R Kimihito
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects