TCP::HTTP device class template.
This device class can be used to connect to HTTP servers over port 80
Do not call this module directly.
Following device class specific procedures are defined. All commands can also be executed using the default cmd() command which is inherited from Net::Telnet.
- test_url url
This procedure connects to an HTTP server on port 80 and tries to get an url. To avoid hanging sessions etc. a GET is done with HTTP version 1.0
Return value is everything that HTTP GET returns
- Net::Telnet is called with Telnetmode disabled - Some custom procedures are defined
Maarten Wallraf <email@example.com>