- Http1ClientProtocolConfig (webclient.http1) Configuration
Configuration options
Optional configuration options
| key | type | default value | description |
|---|---|---|---|
default-keep-alive | boolean | true | Whether to use keep alive by default. @return `true` for keeping connections alive and re-using them for multiple requests (default), `false` to create a new connection for each request |
max-header-size | int | 16384 | Configure the maximum allowed header size of the response. @return maximum header size |
max-status-line-length | int | 256 | Configure the maximum allowed length of the status line from the response. @return maximum status line length |
name | string | http_1_1 | |
validate-request-headers | boolean | false | Sets whether the request header format is validated or not. Defaults to `false` as user has control on the header creation. @return whether request header validation should be enabled |
validate-response-headers | boolean | true | Sets whether the response header format is validated or not. Defaults to `true`. @return whether response header validation should be enabled |