Skip to content

Commit c3609af

Browse files
committed
Fixed a couple of doc issues
Use backticks instead of Javadoc code blocks in Asciidoc files. Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
1 parent 95c967f commit c3609af

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/asciidoc/index.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ End-to-end headers are forwarded by the proxy, hop-by-hop headers are ignored.
7070

7171
==== Request authority
7272

73-
As a transparent proxy, the request authority ({@code Host} header for HTTP/1.1, {@code :authority} pseudo header
74-
for HTTP/2) is preserved.
73+
As a transparent proxy, the request authority (`Host` header for HTTP/1.1, `:authority` pseudo header for HTTP/2) is preserved.
7574

7675
You can override the request authority
7776

@@ -80,8 +79,7 @@ You can override the request authority
8079
{@link examples.HttpProxyExamples#overrideAuthority}
8180
----
8281

83-
When the request authority is overridden, the {@code x-forwarded-host} header is set on the request to the origin server
84-
with the original authority value.
82+
When the request authority is overridden, the `x-forwarded-host` header is set on the request to the origin server with the original authority value.
8583

8684
WARNING: changing the request authority can have undesirable side effects and can affect the proxied web server that might
8785
rely on the original request authority to handle cookies, URL redirects and such.

0 commit comments

Comments
 (0)