HTTP Adapter commands
The following table lists valid commands for the HTTP Adapter, the command syntax, and whether the command is supported (✓) for use with data sources, targets, or both.
| Name | Syntax | Source | Target |
|---|---|---|---|
| Client Certificate (-CERT) | -CERT {label} | ✓ | ✓ |
| From (-FROM) | -FROM address | ✓ | ✓ |
| Header (-HDR) | -HDR[+][I] | ✓ | ✓ |
| HTTP(S) URL (-URL) | -URL {HTTP|HTTPS}://[user[:pass]@] [host[:port]][/dir[/file]] |
✓ | ✓ |
| Ignore (-IGNORE) | -IGNORE error_code[:error_code...] | ✓ | ✓ |
| Inline Output (-INLINE) | -INLINE | ✓ | |
| Keepalive (-KEEPALIVE) | -KEEPALIVE time_in_seconds | ✓ | ✓ |
| Listen (-LSN) | -LSN seconds | ✓ | |
| Method (-M or -METHOD) | -METHOD method_name | ✓ | ✓ |
| Modified Since (-MOD or -MODIFIED) | -MODIFIED http-date | ✓ | ✓ |
| Proxy URL (-PROXY) | -PROXY {HTTP|HTTPS}://[user[:pass]@] [host[:port]][/dir[/file]] |
✓ | ✓ |
| Redirections Allowed (-REDIR or -REDIRECT) | -REDIRECT limit | ✓ | ✓ |
| Session (-SESSION) | -SESSION session_id [*] | ✓ | ✓ |
| Server Name Indication (-SNI) | -SNI | ✓ | ✓ |
| SOCKS URL (-SOCKS) | -SOCKS {socks4|socks5}://[user[:pass]@] [host[:port]] |
✓ | ✓ |
| SSL Encryption Strength (-STR) | -STR {WEAK|STRONG|ANY} | ✓ | ✓ |
| SSL Protocol (-SPROTO) | -SPROTO {SSLv2|SSLv3|SSLv23|TLSv1} | ✓ | ✓ |
| Status Code (-SC or -STATUS_CODE) | -STATUS_CODE {map_return_code=HTTP_status_code[,map_return_code=HTTP_status_code...] | map_return_code:map_return_code[:map_return_code...]=HTTP_status_code} | ✓ | |
| Status Line (-STATUSLINE) | -STATUSLINE | ✓ | |
| Status Page (-SP or -STATUS_PAGE) | -STATUS_PAGE file_name[*].file_type | ✓ | |
| Status Page Default (-SPD or -STATUS_PAGE_DEFAULT) | -STATUS_PAGE_DEFAULT file_name.file_type | ✓ | |
| Timeout (-TIMEOUT) | -TIMEOUT time_in_seconds | ✓ | ✓ |
| Trace (-T or -TRACE) | -T[E][+][S|V] [full_path] | ✓ | ✓ |
| Tunneling (-TUNNELING) | -TUNNELING | ✓ | ✓ |
| Type (-TY or -TYPE) | -TYPE content_type [charset=encoding] | ✓ | ✓ |