1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +01:00

Added server access configuration examples

This commit is contained in:
Martin Tůma 2023-06-10 14:26:03 +02:00
parent e2cf5fe483
commit 977622b221

View File

@ -290,8 +290,21 @@
<h4 id="headers">Server access</h4> <h4 id="headers">Server access</h4>
<p>If the map server requires HTTP authentication, you can use the <i>authorization</i> <p>If the map server requires HTTP authentication, you can use the <i>authorization</i>
element to specify HTTP basic authorization credentials. Since version 13.3 you may element to specify HTTP basic authorization credentials:</p>
also specify additional HTTP request headers using the <i>header</i> element.</p>
<pre>
...
&lt;authorization username="joe" password="123456"/&gt;
</pre>
<p>Since version 13.3 you may also specify additional HTTP request headers using
the <i>header</i> element:</p>
<pre>
...
&lt;header name="Referer">https://referer.limited/&lt;/header&gt;
&lt;header name="User-Agent">Mozilla/5.0 (GNU Hurd)&lt;/header&gt;
</pre>
<h3 id="offline">Offline maps</h3> <h3 id="offline">Offline maps</h3>