TABLE 1: Options in the Command-line HTTP Client Tool
Option Description
-k The -k option keeps a connection open. Use this option when your input file contains multiple requests separated by a $END statement. Each $END statement must be on a separate line.
-u: Use -u: when the Web site requires authentication. The syntax is u:username:password.
-a: The -a: option sets the authentication scheme. The options are Basic, Windows NT LAN Manager (NTLM), or Kerberos. For example, to specify Basic authentication, use
Httpcmd www.32x.com getdefault.req -a:Basic
You can use only one authentication method at a time.
-e The -e option echoes the request to the output stream with the server's reply. For example, if you issued the command
Httpcmd www.32x.com getdefault.req -e
you would receive
GET /default.htm
=======================End=of=Request====================
... results ...
=======================End=of=Reply======================
(In this example, the ... results ... line represents results.) The -e option is useful when you're saving results to a file and you need to document how you requested the results.
-t The -t option uses Hex-HTTP for filter testing.
-h The -h option turns off the echo of HTTP headers.