Skip to content

Commit 9be4526

Browse files
committed
Use https URLs
1 parent 692102e commit 9be4526

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Apache License
33
Version 2.0, January 2004
4-
http://www.apache.org/licenses/
4+
https://www.apache.org/licenses/
55

66
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
77

@@ -193,7 +193,7 @@
193193
you may not use this file except in compliance with the License.
194194
You may obtain a copy of the License at
195195

196-
http://www.apache.org/licenses/LICENSE-2.0
196+
https://www.apache.org/licenses/LICENSE-2.0
197197

198198
Unless required by applicable law or agreed to in writing, software
199199
distributed under the License is distributed on an "AS IS" BASIS,

README.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Description
77

88
This package provides an API for the GeoIP2 and GeoLite2 `web services
99
<https://dev.maxmind.com/geoip/docs/web-services?lang=en>`_ and `databases
10-
<https://dev.maxmind.com/geoip/docs/databases?lang=en>`_.
10+
<https://dev.maxmind.com/geoip/docs/databases?lang=en>`_.
1111

1212
Installation
1313
------------
@@ -456,7 +456,7 @@ attribute in the ``geoip2.records.Traits`` record.
456456
Integration with GeoNames
457457
-------------------------
458458

459-
`GeoNames <http://www.geonames.org/>`_ offers web services and downloadable
459+
`GeoNames <https://www.geonames.org/>`_ offers web services and downloadable
460460
databases with data on geographical features around the world, including
461461
populated places. They offer both free and paid premium data. Each feature is
462462
uniquely identified by a ``geoname_id``, which is an integer.
@@ -473,31 +473,31 @@ Reporting Data Problems
473473
-----------------------
474474

475475
If the problem you find is that an IP address is incorrectly mapped, please
476-
`submit your correction to MaxMind <http://www.maxmind.com/en/correction>`_.
476+
`submit your correction to MaxMind <https://www.maxmind.com/en/correction>`_.
477477

478478
If you find some other sort of mistake, like an incorrect spelling, please
479-
check the `GeoNames site <http://www.geonames.org/>`_ first. Once you've
479+
check the `GeoNames site <https://www.geonames.org/>`_ first. Once you've
480480
searched for a place and found it on the GeoNames map view, there are a
481481
number of links you can use to correct data ("move", "edit", "alternate
482482
names", etc.). Once the correction is part of the GeoNames data set, it
483483
will be automatically incorporated into future MaxMind releases.
484484

485485
If you are a paying MaxMind customer and you're not sure where to submit a
486486
correction, please `contact MaxMind support
487-
<http://www.maxmind.com/en/support>`_ for help.
487+
<https://www.maxmind.com/en/support>`_ for help.
488488

489489
Requirements
490490
------------
491491

492492
Python 3.7 or greater is required. Older versions are not supported.
493493

494494
The Requests HTTP library is also required. See
495-
<http://python-requests.org> for details.
495+
<https://python-requests.org> for details.
496496

497497
Versioning
498498
----------
499499

500-
The GeoIP2 Python API uses `Semantic Versioning <http://semver.org/>`_.
500+
The GeoIP2 Python API uses `Semantic Versioning <https://semver.org/>`_.
501501

502502
Support
503503
-------
@@ -507,4 +507,4 @@ Please report all issues with this code using the `GitHub issue tracker
507507

508508
If you are having an issue with a MaxMind service that is not specific to the
509509
client API, please contact `MaxMind support
510-
<http://www.maxmind.com/en/support>`_ for assistance.
510+
<https://www.maxmind.com/en/support>`_ for assistance.

geoip2/records.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class Country(PlaceRecord):
188188
.. attribute:: iso_code
189189
190190
The two-character `ISO 3166-1
191-
<http://en.wikipedia.org/wiki/ISO_3166-1>`_ alpha code for the
191+
<https://en.wikipedia.org/wiki/ISO_3166-1>`_ alpha code for the
192192
country.
193193
194194
:type: str
@@ -264,7 +264,7 @@ class RepresentedCountry(Country):
264264
.. attribute:: iso_code
265265
266266
The two-character `ISO 3166-1
267-
<http://en.wikipedia.org/wiki/ISO_3166-1>`_ alpha code for the country.
267+
<https://en.wikipedia.org/wiki/ISO_3166-1>`_ alpha code for the country.
268268
269269
:type: str
270270
@@ -373,7 +373,7 @@ class Location(Record):
373373
.. attribute:: time_zone
374374
375375
The time zone associated with location, as specified by the `IANA Time
376-
Zone Database <http://www.iana.org/time-zones>`_, e.g.,
376+
Zone Database <https://www.iana.org/time-zones>`_, e.g.,
377377
"America/New_York".
378378
379379
:type: str
@@ -492,7 +492,7 @@ class Subdivision(PlaceRecord):
492492
493493
This is a string up to three characters long
494494
contain the subdivision portion of the `ISO 3166-2 code
495-
<http://en.wikipedia.org/wiki/ISO_3166-2>`_.
495+
<https://en.wikipedia.org/wiki/ISO_3166-2>`_.
496496
497497
:type: str
498498
@@ -582,7 +582,7 @@ class Traits(Record):
582582
.. attribute:: autonomous_system_number
583583
584584
The `autonomous system
585-
number <http://en.wikipedia.org/wiki/Autonomous_system_(Internet)>`_
585+
number <https://en.wikipedia.org/wiki/Autonomous_system_(Internet)>`_
586586
associated with the IP address. This attribute is only available from
587587
the City Plus and Insights web services and the Enterprise database.
588588
@@ -591,7 +591,7 @@ class Traits(Record):
591591
.. attribute:: autonomous_system_organization
592592
593593
The organization associated with the registered `autonomous system
594-
number <http://en.wikipedia.org/wiki/Autonomous_system_(Internet)>`_ for
594+
number <https://en.wikipedia.org/wiki/Autonomous_system_(Internet)>`_ for
595595
the IP address. This attribute is only available from the City Plus and
596596
Insights web service end points and the Enterprise database.
597597

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author = Gregory Oschwald
44
author_email = [email protected]
55
license = Apache License, Version 2.0
66
description = MaxMind GeoIP2 API
7-
url = http://www.maxmind.com/
7+
url = https://www.maxmind.com/
88
long_description = file: README.rst
99
classifiers =
1010
Development Status :: 5 - Production/Stable

0 commit comments

Comments
 (0)