Your company here, and a link to your site. Click to find out more.

c-icap-client - Man Page

simple ICAP client


c-icap-client [ -V ] [ -VV ] [ -i icap_servername ] [ -p port ] [ -s service ] [ -tls ] [ -tls-method method ] [ -tls-no-verify ] [ -f input_file ] [ -o out_file ] [ -req url ] [ -resp url ] [ -d debug level ] [ -noreshdr ] [ -nopreview ] [ -no204 ] [ -206 ] [ -x icap-header ] [ -hx http-request-header ] [ -rhx http-response-header ] [ -no-h http-request-header-name ] [ -no-rh http-response-header-name ] [ -w preview_size ] [ -v ]


c-icap-client is a simple ICAP client. It can be used to test your icap server configuration.



Print version


Print build informations

-i icap_servername

The hostname or the IP address of the icap server. The default is localhost.

-p port

The server port. The default port value is 1344

-s service

The service name. The default service name is "echo"



-tls-method method

Select the TLS method to use, normaly one of TLSv1, TLSv1_1, TLSv1_2 or TLSv1_3


Disable TLS server certificate verify

-f filename

Send this file to the icap server. Default is to send an options request.

-o filename

Save output to this file. Default is to send to stdout

-req url

Send a request modification ICAP request (reqmod) instead of a response modification, using as HTTP url the url provided with this option.

-resp url

Send a response modification ICAP request (respmod) with HTTP request headers, using as HTTP url the url provided with this option.

-d level

debug level info to stdout


Do not send reshdr headers


Do not send preview request data


Do not allow204 outside preview


Support 206 responses

-x icap-header

Include the icap-header in ICAP request headers

-hx http-request-header

Include the http-request-header in HTTP request headers

-rhx http-response-header

Include the http-response-header in HTTP response headers


Do not add the http-request-header-name header in HTTP request headers


Do not add the http-response-header-name header in HTTP response headers

-w preview

Sets the maximum preview data size to preview


Print response headers

See Also

c-icap(8) c-icap-stretch(8) c-icap-config(8) c-icap-libicapapi-config(8) c-icap-mkbdb(8)




Tsantilas Christos

Referenced By

c-icap(8), c-icap-config(8), c-icap-libicapapi-config(8), c-icap-mklmdb(8), c-icap-stretch(8).

c_icap 0.6.2