HTTP clients
A HTTP client is a network utility that
-
transfers files and data from HTTP servers to devices over a network using the HTTP protocol,
-
enables configuration of connection, security, and transport parameters via http client command, and
-
and supports advanced features such as SSL/TLS options, source interface selection, and protocol versioning.
Configurable parameters for HTTP clients
HTTP client is available by default. You can configure http client settings or view and modify the existing settings. To configure the settings, use the http client command in XR configuration mode.
RP/0/RP0/CPU0:ios#configure
RP/0/RP0/CPU0:ios(config)#http client ?
connection Configure HTTP Client connection
response How long HTTP Client waits for a response from the server
for a request message before giving up
secure-verify-host Verify that if server certificate is for the server it is known as
secure-verify-peer Verify authenticity of the peer's certificate
source-interface Specify interface for source address
ssl SSL configuration to be used for HTTPS requests
tcp-window-scale Set tcp window-scale factor for High Latency links
version HTTP Version to be used in HTTP requests
vrf Name of vrf
|
Parameters |
Description |
|---|---|
| connection | Configure HTTP Client connection by using either retry or timeout options. |
| response | How long HTTP Client waits for a response from the server for a request message before giving up. |
| secure-verify-host | Verify host in peer's certificate. To disable verifying this, you can use the command http client secure-verify-host disable |
| secure-verify-peer | Verify authenticity of the peer's certificate. |
| source-interface | Specifies the interface for source address for all outgoing HTTP connections. You can enter either an ipv4 or ipv6 address or both. |
| ssl version | SSL version (configuration) to be used for HTTPS requests. |
| tcp-window-scale scale | Set tcp window-scale factor for high latency links. |
| version version |
HTTP version to be used in HTTP requests.
|
| vrf name | Name of vrf. |
This example shows how to set the tcp window-scale to 8.
RP/0/RP0/CPU0:ios(config)#http client tcp-window-scale 8
This example shows how to set the HTTP version to 1.0.
RP/0/RP0/CPU0:ios(config)#http client version 1.0
![]() Note |
HTTP client uses libcurl version 7.30 |

Feedback