<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Just added in
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/commit/a6c3b0450994028a60cef854fbe6304910c7e277">https://github.com/OSGeo/gdal/commit/a6c3b0450994028a60cef854fbe6304910c7e277</a>
: "The content of the<br>
file is not cached, and thus it is read again before issuing each
HTTP request."<br>
</p>
<div class="moz-cite-prefix">Le 28/03/2024 à 10:26, Michael Otto via
gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:OFD255B5C9.73C0A621-ONC1258AEE.0032EE7C-C1258AEE.0033DBC4@data-experts.de">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<span style=" font-size:10pt;font-family:sans-serif">Hello,</span><br>
<br>
<span style=" font-size:10pt;font-family:sans-serif">I have an
important
question about the use of a 'GDAL_HTTP_HEADER_FILE'.</span><br>
<br>
<span style=" font-size:10pt;font-family:sans-serif">If I request
a
WFS with "OGR_WFS_PAGING_ALLOWED=ON" and use a header file for
authentication, will the header file be read with every new
page?</span><br>
<br>
<span style=" font-size:10pt;font-family:sans-serif">I am
wondering
how I should deal with an expiring bearer token (validity 5min)
with a
very long lasting query (>5min).</span><br>
<br>
<span style=" font-size:10pt;font-family:sans-serif">Questions:</span><br>
<span style=" font-size:10pt;font-family:sans-serif">Does ogr2ogr
query
the header file again for each new page?</span><br>
<span style=" font-size:10pt;font-family:sans-serif">Can I
possibly
set the authentication for every single requested page?</span><br>
<span style=" font-size:10pt;font-family:sans-serif">Is there
another
way to deal with expiring tokens?</span><br>
<br>
<span style=" font-size:10pt;font-family:sans-serif">Michael</span><br>
<br>
<span style=" font-size:10pt;font-family:sans-serif">PS: </span><br>
<span style=" font-size:10pt;font-family:sans-serif">I use Java
and
start the apps via the ProcessBuilder.</span><br>
<span style=" font-size:10pt;font-family:sans-serif">If the header
file is re-read for each page, I could update it accordingly
(preferably
without conflicts due to simultaneous reading and writing ;o) ).</span>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>