Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

When processing GML, allow .xml file ending #523

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iandees
Copy link
Member

@iandees iandees commented Jan 19, 2017

In openaddresses/openaddresses#1898 we're trying to download a GML dump from a WFS server. The server responds with a Content-Type: text/xml header, so the cacher saves the file with a .xml suffix, but the subsequent steps only look for .gml when processing a source with type: xml set.

This change makes it so we look for .xml AND .gml.

@migurski
Copy link
Member

I think there might be some .xml data hanging out in one of the Japanese tests.

@migurski
Copy link
Member

Hey Ian, any further thoughts on getting this completed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants