diff --git a/index.html b/index.html index c0bc613..f1e3b78 100644 --- a/index.html +++ b/index.html @@ -79,7 +79,7 @@ $ http {{ .Host }}/city
 $ http {{ .Host }}/json
 {{ .JSON }}
-

Setting the Accept header to application/json also works.

+

Setting the Accept: application/json header also works as expected.

Plain output

Always returns the IP address including a trailing newline, regardless of user agent.