From 977622b2217ebcb6b8f4ea15bee45dd701e373dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 10 Jun 2023 14:26:03 +0200 Subject: [PATCH] Added server access configuration examples --- doc.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/doc.html b/doc.html index 8858a89f..73b9239e 100644 --- a/doc.html +++ b/doc.html @@ -290,8 +290,21 @@

Server access

If the map server requires HTTP authentication, you can use the authorization - element to specify HTTP basic authorization credentials. Since version 13.3 you may - also specify additional HTTP request headers using the header element.

+ element to specify HTTP basic authorization credentials:

+ +
+...
+<authorization username="joe" password="123456"/>
+
+ +

Since version 13.3 you may also specify additional HTTP request headers using + the header element:

+ +
+...
+<header name="Referer">https://referer.limited/</header>
+<header name="User-Agent">Mozilla/5.0 (GNU Hurd)</header>
+

Offline maps