Skip to content

Commit eb290d6

Browse files
committed
Merge branch '4.0.x'
Closes gh-50128
2 parents 58c7a0f + b7a6e0f commit eb290d6

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

  • documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/io

documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/io/rest-client.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,8 @@ For example, the properties below will:
374374
* Configure all HTTP clients to use a one second connect timeout (unless otherwise overridden).
375375
* Configure HTTP Service clients in the "`echo`" group to:
376376
** Use a specific base URL.
377-
** Have a two second read timeout.
378-
** Insert API version information using an `X-Version` header.
377+
** Have a one-second connect timeout.
378+
** Have a two-second read timeout.
379379

380380
[configprops,yaml]
381381
----
@@ -386,11 +386,8 @@ spring:
386386
serviceclient:
387387
echo:
388388
base-url: "https://echo.zuplo.io"
389+
connect-timeout: 2s
389390
read-timeout: 2s
390-
apiversion:
391-
default: 1.0.0
392-
insert:
393-
header: X-Version
394391
----
395392

396393

0 commit comments

Comments
 (0)