HTTP Client application
HTTP Client allows files to be transferred from an HTTP server to another device over a network using the HTTP protocol.
You can configure the HTTP Client and its associated parameters by using the http client command.
This table lists the commands used to configure HTTP Client settings:
Features |
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 source interface for all outgoing HTTP connections. You can enter an IPv4 address, an IPv6 address, or both addresses. |
ssl version | SSL version (configuration) to be used for HTTPS requests. |
tcp-window-scale scale | Sets the TCP window-scale factor for high-latency links. |
version version |
HTTP version to be used in HTTP requests.
|
vrf name | Name of the VRF. |
Configure HTTP Client application
The HTTP Client application is available by default. You can configure HTTP client settings, or you can view and modify existing settings.
To configure the settings, use the http client command in XR config mode.
Use this task to configure the settings.
Procedure
Step 1 |
Enter the XR config mode. |
||
Step 2 |
Run the http client command in XR config mode. Example:
Example:This example shows how to set the TCP window-scale to 8.
This example shows how to set the HTTP version to 1.0.
|