Forum Discussion
RobW
Nimbostratus
Jan 30, 2008HTTP Monitor - Java Script
The following monitor was allegedly working fine on a competitors product, but not on the LTM v9.4.3
send "GET /auth/?checkall=true HTTP/1.0\\r\\n\\r\\n"
expect "PASS"
...
I don't think you can specify a Connection header in HTTP v1.0. You only need to use one backslash to escape characters. And there should only be one \r\n between lines. The bigd monitoring daemon appends a trailing \r\n to the request, so you only need to put one at the end.
How about this:
GET /auth/?checkall=true HTTP/1.1\r\nConnection: Close\r\nHost: \r\n
If you still get a 40x error from the web server, try putting a Host header value:
GET /auth/?checkall=true HTTP/1.1\r\nConnection: Close\r\nHost: test.example.com\r\n
Aaron
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