BRGM / gml_application_schema_toolbox

GML Application Schema toolbox is a QGIS plugin allowing to manipulate OGC Complex Features
https://brgm.github.io/gml_application_schema_toolbox/
GNU General Public License v2.0
28 stars 18 forks source link

Request headers are not transmitted across redirections #127

Closed sgrellet closed 3 years ago

sgrellet commented 3 years ago

Environment

Description

To Reproduce

Follow https://brgm.github.io/gml_application_schema_toolbox/testing/scenario_mode_xml_local.html Do step 3 on the exact same attribut (gsmlp:purpose/@xlink:href)

Expected behavior

Vocabulary content fetched for the URI should enrich the feature description as described in the test scenario

Additional context

Guts commented 3 years ago
* Network Logger shows a HTTP 302 redirect from the URI (is it properly handled ?)

Yes. This is a redirection from HTTP to HTTPS:

image

Guts commented 3 years ago

is the payload retrieved logged somewhere ?

It was not. It's now done using the new log management. Reproducing the error:

Error occurred reading the XML downloaded from http://inspire.ec.europa.eu/codelist/BoreholePurposeValue/hydrogeologicalSurvey. Trace: mismatched tag: line 88, column 2
sgrellet commented 3 years ago

Works fine now with plugin version: 1.3.1