---
name: "c-icap-client"
section: "8"
platform: "linux"
package: "c-icap"
version: "1:0.5.10-6.1+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/c-icap-client"
---

# c-icap-client(8)

simple ICAP client

## NAME

c-icap-client - simple ICAP client

## SYNOPSIS

**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** \] \[ **-w preview\_size** \] \[ **-v** \]

## DESCRIPTION

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

## OPTIONS

- \-V

  Print version

- \-VV

  Print build informations

- \-i icap\_servername

  The hostname 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

  Use TLS

- \-tls-method method

  Select the TLS method to use, normaly one of TLSv1, TLSv1\_1, TLSv1\_2 or TLSv1\_3

- \-tls-no-verify

  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 instead of response modification, using as http url the url provided with this option.

- \-resp url

  Send a response modification with http request headers, using as http url the url provided with this option.

- \-d level

  debug level info to stdout

- \-noreshdr

  Do not send reshdr headers

- \-nopreview

  Do not send preview request data

- \-no204

  Do not allow204 outside preview

- \-206

  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

- \-w preview

  Sets the maximum preview data size to preview

- \-v

  Print response headers

## SEE ALSO

[**c-icap**(8)](/c-icap/8.md) [**c-icap-stretch**(8)](/c-icap-stretch/8.md) [**c-icap-config**(8)](/c-icap-config/8.md) [**c-icap-libicapapi-config**(8)](/c-icap-libicapapi-config/8.md) [**c-icap-mkbdb**(8)](/c-icap-mkbdb/8.md)

## BUGS

Many...

## AUTHOR

Tsantilas Christos
