1c-icap-client(8) System Manager's Manual c-icap-client(8)
2
3
4
6 c-icap-client - simple ICAP client
7
9 c-icap-client [ -V ] [ -VV ] [ -i icap_servername ] [ -p port ] [ -s
10 service ] [ -tls ] [ -tls-method method ] [ -tls-no-verify ] [ -f in‐
11 put_file ] [ -o out_file ] [ -req url ] [ -resp url ] [ -d debug level
12 ] [ -noreshdr ] [ -nopreview ] [ -no204 ] [ -206 ] [ -x icap-header ] [
13 -hx http-request-header ] [ -rhx http-response-header ] [ -no-h http-
14 request-header-name ] [ -no-rh http-response-header-name ] [ -w pre‐
15 view_size ] [ -v ]
16
18 c-icap-client is a simple ICAP client. It can be used to test your icap
19 server configuration.
20
22 -V Print version
23
24 -VV Print build informations
25
26 -i icap_servername
27 The hostname or the IP address of the icap server. The default
28 is localhost.
29
30 -p port
31 The server port. The default port value is 1344
32
33 -s service
34 The service name. The default service name is "echo"
35
36 -tls Use TLS
37
38 -tls-method method
39 Select the TLS method to use, normaly one of TLSv1, TLSv1_1,
40 TLSv1_2 or TLSv1_3
41
42 -tls-no-verify
43 Disable TLS server certificate verify
44
45 -f filename
46 Send this file to the icap server. Default is to send an options
47 request.
48
49 -o filename
50 Save output to this file. Default is to send to stdout
51
52 -req url
53 Send a request modification ICAP request (reqmod) instead of a
54 response modification, using as HTTP url the url provided with
55 this option.
56
57 -resp url
58 Send a response modification ICAP request (respmod) with HTTP
59 request headers, using as HTTP url the url provided with this
60 option.
61
62 -d level
63 debug level info to stdout
64
65 -noreshdr
66 Do not send reshdr headers
67
68 -nopreview
69 Do not send preview request data
70
71 -no204 Do not allow204 outside preview
72
73 -206 Support 206 responses
74
75 -x icap-header
76 Include the icap-header in ICAP request headers
77
78 -hx http-request-header
79 Include the http-request-header in HTTP request headers
80
81 -rhx http-response-header
82 Include the http-response-header in HTTP response headers
83
84 -no-h Do not add the http-request-header-name header in HTTP request
85 headers
86
87 -no-rh Do not add the http-response-header-name header in HTTP response
88 headers
89
90 -w preview
91 Sets the maximum preview data size to preview
92
93 -v Print response headers
94
96 c-icap(8) c-icap-stretch(8) c-icap-config(8) c-icap-libicapapi-con‐
97 fig(8) c-icap-mkbdb(8)
98
100 Many...
101
103 Tsantilas Christos
104
105
106
107 c_icap 0.6.0 c-icap-client(8)