Forum Discussion
Stephen_Winter
Cirrus
Jan 24, 2008Setting UserAgent for Monitoring?
Hi All,
I'm not real familiar with the internal working of http, but I'm trying to setup a monitor on some web server to check for content and it's failing because the server checks Browser...
mazek_59373
Nimbostratus
Jan 25, 2008Small hint instead of telnet and dealing with end of line chars You can use simple GET app from libwww-perl package (in Debian distro). It will make such tests easier:
GET
Usage: GET [-options] ...
-m use method for the request (default is 'GET')
-f make request even if GET believes method is illegal
-b Use the specified URL as base
-t Set timeout value
-i Set the If-Modified-Since header on the request
-c use this content-type for POST, PUT, CHECKIN
-a Use text mode for content I/O
-p use this as a proxy
-P don't load proxy settings from environment
-H send this HTTP header (you can specify several)
-u Display method and URL before any response
-U Display request headers (implies -u)
-s Display response status code
-S Display response status chain
-e Display response headers
-d Do not display content
-o at> Process HTML content in various ways
-v Show program version
-h Print this message
-x Extra debugging output
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
