Skip to content

Commit 26ed6d8

Browse files
authored
Fix syntax for RequestEntity headers example in ref docs
Closes gh-26876
1 parent 98770b1 commit 26ed6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/asciidoc/integration.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ You can use the `exchange()` methods to specify request headers, as the followin
163163
URI uri = UriComponentsBuilder.fromUriString(uriTemplate).build(42);
164164
165165
RequestEntity<Void> requestEntity = RequestEntity.get(uri)
166-
.header(("MyRequestHeader", "MyValue")
166+
.header("MyRequestHeader", "MyValue")
167167
.build();
168168
169169
ResponseEntity<String> response = template.exchange(requestEntity, String.class);

0 commit comments

Comments
 (0)