lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.10-2-ge31ff95

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum branch master updated. 1.10-2-ge31ff95



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".

The branch, master has been updated
       via  e31ff954d46190e06a4473c7213ad386c3a75e24 (commit)
      from  8677d04106a00714ecc1a9ed6865c201537aca88 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=e31ff954d46190e06a4473c7213ad386c3a75e24

commit e31ff954d46190e06a4473c7213ad386c3a75e24
Author: Gustavo Valverde <gustavo@iterativo.do>
Date:   Mon Nov 12 14:03:52 2018 -0400

    Use HTTPS for WSDL as HTTP was deprecated
    
    The regulator changed their site to use HTTPS by default; making this
    resource unavailable through HTTP.
    
    Closes https://github.com/arthurdejong/python-stdnum/pull/85

diff --git a/stdnum/do/ncf.py b/stdnum/do/ncf.py
index 335ab4a..4d70b1b 100644
--- a/stdnum/do/ncf.py
+++ b/stdnum/do/ncf.py
@@ -135,7 +135,7 @@ def check_dgii(rnc, ncf, timeout=30):  # pragma: no cover
     from stdnum.do.rnc import compact as rnc_compact
     rnc = rnc_compact(rnc)
     ncf = compact(ncf)
-    url = 'http://www.dgii.gov.do/app/WebApps/ConsultasWeb/consultas/ncf.aspx'
+    url = 'https://www.dgii.gov.do/app/WebApps/ConsultasWeb/consultas/ncf.aspx'
     headers = {
         'User-Agent': 'Mozilla/5.0 (python-stdnum)',
     }
diff --git a/stdnum/do/rnc.py b/stdnum/do/rnc.py
index d1818a0..109e9ff 100644
--- a/stdnum/do/rnc.py
+++ b/stdnum/do/rnc.py
@@ -54,7 +54,7 @@ whitelist = set('''
 '''.split())
 
 
-dgii_wsdl = 'http://www.dgii.gov.do/wsMovilDGII/WSMovilDGII.asmx?WSDL'
+dgii_wsdl = 'https://www.dgii.gov.do/wsMovilDGII/WSMovilDGII.asmx?WSDL'
 """The WSDL URL of DGII validation service."""
 
 

-----------------------------------------------------------------------

Summary of changes:
 stdnum/do/ncf.py | 2 +-
 stdnum/do/rnc.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
python-stdnum
-- 
To unsubscribe send an email to
python-stdnum-commits-unsubscribe@lists.arthurdejong.org or see
https://lists.arthurdejong.org/python-stdnum-commits/