Skip to content

Commit

Permalink
Merge pull request #1922 from MrKrisKrisu/patch-1
Browse files Browse the repository at this point in the history
changed protocol to https
  • Loading branch information
nvkelso authored Aug 16, 2019
2 parents deebbc8 + 572fdc1 commit 1c26f35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,15 +286,15 @@ def parse_layer_dict(yaml_path, output_fn, fn_name_fn):
class OSMDataObject(namedtuple("OSMDataObject", "typ fid")):

def canonical_url(self):
return "http://www.openstreetmap.org/%s/%d" % (self.typ, self.fid)
return "https://www.openstreetmap.org/%s/%d" % (self.typ, self.fid)


class OverpassObject(namedtuple("OverpassObject", "raw_query")):

def canonical_url(self):
query = urllib.urlencode(dict(data=self.raw_query))
url = urlparse.urlunparse((
'http', 'overpass-api.de', '/api/interpreter',
'https', 'overpass-api.de', '/api/interpreter',
None, query, None))
return url

Expand Down

0 comments on commit 1c26f35

Please sign in to comment.